Erimpl:initial job has not accepted any resources; Check your cluster UI to ensure that workers is

Source: Internet
Author: User
Tags port number
(venv) [Root@master pyspark_project]# spark-submit--master spark://10.105.16.240:7077/home/mysql1/anqu/python/ anquproduct/restapi/flask/restapiserver.py


Error:
Erimpl:initial job has not accepted any resources; Check your cluster UI to ensure that workers is registered and has sufficient resources
16/08/24 15:12:58 WARN taskschedulerimpl:initial Job has no accepted any resources; Check your cluster UI to ensure that workers is registered and has sufficient resources


Solve:
On the internet to see a lot of 1.hostname and hostname is not correct, 2. Insufficient resources, 3.4040 port number is occupied, the previous program has been run. What is not. I have removed the configuration parameters of spark-env.sh, and set the parameters to be resolved when submitting the application. should be the result of inconsistent configuration of the master and slave nodes.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.