Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TaskSchedulerImpl: Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient resources #72

Open
nguacon90 opened this issue Dec 9, 2021 · 0 comments

Comments

@nguacon90
Copy link

I try do simple application with scala spark as follow:

val conf = new SparkConf().setMaster("spark://192.168.20.108:7077")
            .setAppName("BI-SERVICE")
val numbersRdd = sc.parallelize((1 to 10000).toList)
numbersRdd.saveAsTextFile("hdfs://192.168.20.108:8020/numbers-as-text02")

However spark job still running and show warning message:
WARN TaskSchedulerImpl: Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient resources
and not write hdfs file.
Anyone can help to resolve the problem?

@nguacon90 nguacon90 changed the title Cannot write to hdfs TaskSchedulerImpl: Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient resources Dec 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant