Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 04-24-2016 01:57 PM
Hi,
In HDP sandbox 2.4,
When to start Spark with
./bin/spark-shell --master yarn --deploy-mode client
After create a job, there's error:
16/04/24 13:42:24 WARN YarnScheduler: Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient resources
Created 04-26-2016 02:36 AM
Resolved. Need to edit the spark-env configure file to enable spark yarn client mode.
Created on 04-24-2016 02:06 PM - edited 08-19-2019 04:10 AM
Hi,
It means that either your cluster doesn't have sufficient resources or in some cases non of node managers connected to the resource manager.
Please cross check your resource manager UI and look for "Memory used", "Memory Total" and "Active Nodes" section.
http://<RM IP>:8088
see attached screenshot.
Created 04-26-2016 02:36 AM
Resolved. Need to edit the spark-env configure file to enable spark yarn client mode.
Created 04-26-2016 09:55 AM
Thanks for the update, I think you don't need to specify spark-env since you already had --deploy-mode client.