Rob Blah 2013-08-11, 10:27
Rob Blah 2013-08-11, 21:07
Ted Yu 2013-08-12, 01:28
-Re: DefaultResourceCalculator class not found, ResourceManager fails to start.
Problem solved. Thank you for your help.
Other issues where my mistakes. I have a dedicated script which
updates/builds/"deploys" YARN from sources. I was starting NN with the
"-upgrade" option which unsynchronized NN version, also leading to broken
DN. Quick NN format and deletion of DN data solved the issue (I am working
on a sandbox cluster, so that is not a problem). I have modified the script
to start the NN without the upgrade option.
Two quick questions:
- when should I use the NN upgrade option, should it be only used to
upgrade NN between new version (example 2.0.4 -> 2.0.5). How can I automate
- Is the "design/functionality" of my magical script correct? How can I
avoid future problems like the solved one?
YARN update script
- update src to trunk (opt)
- package YARN
- build dist (tar ball)
- unpack new_dist
- overwrite new_dist conf with prev_dist conf (this has lead to the problem
with DefaultResourceCalculator, my conf is bare minimum to work in
- start YARN
For any suggestions I would be grateful.
2013/8/12 Ted Yu <[EMAIL PROTECTED]>
> Can you check the config entry
> for yarn.scheduler.capacity.resource-calculator ?
> It should point
> to org.apache.hadoop.yarn.util.resource.DefaultResourceCalculator
> bq. I was able to fix all issues
> What other issues came up ?
> On Sun, Aug 11, 2013 at 2:07 PM, Rob Blah <[EMAIL PROTECTED]> wrote:
>> Hi again
>> From a little investigation I have performed I have observed the
>> following. I assume the module responsible for this class is
>> During RM init it crashes since it is looking for a class
>> DefaultResourceCalculator in
>> while the class is present in hadoop-yarn-common-3.0.0-SNAPSHOT.jar but
>> under org.apache.hadoop.yarn.util.resource.DefaultResourceCalculator. Thus
>> the RM crashes. Anybody knows how I can fix this? I would very grateful for
>> any help.
>> 2013/8/11 Rob Blah <[EMAIL PROTECTED]>
>>> I have a strange problem, regarding missing class, the
>>> DefaultResourceCalculator. I have a single node sandbox cluster working in
>>> a pseudo-distributed mode. The cluster was working fine yesterday, however
>>> today it stopped working. I was able to fix all issues except the following
>>> problem in ResourceManager:
>>> 2013-08-11 12:12:42,425 FATAL
>>> org.apache.hadoop.yarn.server.resourcemanager.ResourceManager: Error
>>> starting ResourceManager
>>> java.lang.RuntimeException: java.lang.RuntimeException:
>>> java.lang.ClassNotFoundException: Class
>>> not found
>>> Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException:
>>> not found
>>> ... 5 more
>>> Caused by: java.lang.ClassNotFoundException: Class
Rob Blah 2013-11-15, 13:14