spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JG Perrin <jper...@lumeris.com>
Subject Debugging Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient resources
Date Tue, 26 Sep 2017 13:40:57 GMT
Hi,

I get the infamous:
Initial job has not accepted any resources; check your cluster UI to ensure that workers are
registered and have sufficient resources

I run the app via Eclipse, connecting:
        SparkSession spark = SparkSession.builder()
                .appName("Converter - Benchmark")
                .master(ConfigurationManager.getMaster())
                .config("spark.cores.max", "4")
                .config("spark.executor.memory", "16g")
                .getOrCreate();


Everything seems ok on the cluster side:
[cid:image001.png@01D336A3.2B215410]


I probably missed something super obvious, but can't find it...

Any help/hint is welcome! - TIA

jg




Mime
View raw message