TaskSchedulerImpl: Initial job has not accepted any resources;

前端 未结 5 1279
旧时难觅i
旧时难觅i 2020-12-03 06:14

Here is what I am trying to do.

I have created two nodes of DataStax enterprise cluster,on top of which I have created a java program to get the count of one table (

5条回答
  •  时光说笑
    2020-12-03 06:32

    Please look at Russ's post

    Specifically this section:

    This is by far the most common first error that a new Spark user will see when attempting to run a new application. Our new and excited Spark user will attempt to start the shell or run their own application and be met with the following message

    ...

    The short term solution to this problem is to make sure you aren’t requesting more resources from your cluster than exist or to shut down any apps that are unnecessarily using resources. If you need to run multiple Spark apps simultaneously then you’ll need to adjust the amount of cores being used by each app.

提交回复
热议问题