- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Error info: 16/04/24 13:42:24 WARN YarnScheduler: Initial job has not accepted any resources
- Labels:
-
Apache Spark
Created 04-24-2016 01:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Resolved. Need to edit the spark-env configure file to enable spark yarn client mode.
Created 04-26-2016 09:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the update, I think you don't need to specify spark-env since you already had --deploy-mode client.
