Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient memory #204
Comments
(Consider using the mailing list for questions? https://groups.google.com/a/cloudera.org/forum/#!forum/oryx-user This is more for handling pull requests and reporting specific issues.) That does typically mean that YARN thinks it does not have enough resource to fulfill the request. First, check the YARN Resource Manager to verify how much RAM / cores it thinks it has available. It may not be managing all of your machine's resource, though, I imagine the default config does. Can you show more of your config file? from the comment above it looks like you are configuring the speed instead of batch layer. |
Here i am trying als-example.conf file. My config file is: kafka-brokers = "localhost:9092" |
My yarn has 8GB of memory and 1vcore. |
OK. Hm but with just 1 core, there isn't enough to run both the application manager and the app, both of which need at least 1 core. In fact, a Spark Streaming app needs at least 2 executor slots, since 1 will be taken by the receiver. I think you'd have to have at least 3 vcores to run any Spark Streaming app. Can you simply over-commit YARN and tell it that it should allocate at least 3 vcores? If I'm right about this, I'll definitely document it. |
HI, |
OK, reopen this if this turns out to not be the explanation. |
HI, While this batch layer is running, I started speed layer, this is accepted by yarn but it is in pending state not running till i stop the batch layer. How to make changes to yarn so that more than one job runs at a time? Thanks, |
HI, While this batch layer is running, I started speed layer, this is accepted by yarn but it is in pending state not running till i stop the batch layer. How to make changes to yarn so that more than one job runs at a time? Thanks, Maruthi Donthi From: Sean Owen notifications@github.com OK, reopen this if this turns out to not be the explanation. Reply to this email directly or view it on GitHubhttps://github.com//issues/204#issuecomment-92899641. |
It still sounds like you are asking for more resource than your YARN cluster provisions. You can turn down the resource you ask for or increase the resource YARN provides. But that's the issue and solution. |
Hello Everybody
I am trying to running oryx 2 in Cloudera Express 5.3.0, with a single node but when i execute the BatchLayer, this return me the next warning
"WARN YarnClient Cluster Scheduler:71 Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient memory"
I look at my yarn, It has sufficient memory of 8GB, and 1Vcore.
I changed my conf file accordingly:
Number of executors to start
How can i solve this problem?
Thanks,
Maruthi.
The text was updated successfully, but these errors were encountered: