Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> Re: Error starting ResourceManager with hadoop-2.0.3-alpha


Copy link to this message
-
Re: Error starting ResourceManager with hadoop-2.0.3-alpha
Thanks Hitesh, it worked. I just copied the capacity-scheduler.xml from
that link and added a property yarn.scheduler.capacity.child.queues similar
to yarn.scheduler.capacity.root.queues which is already there.

Thanks again,
Kishore
On Thu, Mar 21, 2013 at 10:55 PM, Hitesh Shah <[EMAIL PROTECTED]>wrote:

> You are missing the capacity-scheduler.xml in your config directory or in
> your classpath. You can pull a default example copy of it from here:
>
> http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-tests/src/test/resources/capacity-scheduler.xml
>
> -- Hitesh
>
> On Mar 21, 2013, at 7:57 AM, Krishna Kishore Bonagiri wrote:
>
> > Hi,
> >
> >   I had been using hadoop-2.0.0-alpha since quite sometime which I think
> I downloaded around June/July last year. Now I am trying to shift to the
> latest version hadoop-2.0.3-alpha and while starting it up in the similar
> way as the old one, I am getting the following error in Resource Manger's
> log file and it is not starting up.
> >
> >
> > 2013-03-21 10:25:18,811 FATAL [main] resourcemanager.ResourceManager
> (ResourceManager.java:main(713)) - Error starting ResourceManager
> > java.lang.IllegalStateException: Queue configuration missing child queue
> names for root
> >         at
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.parseQueue(CapacityScheduler.java:328)
> >         at
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.initializeQueues(CapacityScheduler.java:255)
> >         at
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.reinitialize(CapacityScheduler.java:220)
> >         at
> org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.init(ResourceManager.java:226)
> >         at
> org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.main(ResourceManager.java:710)
> > 2013-03-21 10:25:18,817 INFO  [Thread-5] service.CompositeService
> (CompositeService.java:run(124)) - Error stopping ResourceManager
> > java.lang.NullPointerException
> >         at
> org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.stop(ResourceManager.java:590)
> >         at
> org.apache.hadoop.yarn.service.CompositeService$CompositeServiceShutdownHook.run(CompositeService.java:122)
> >         at
> org.apache.hadoop.util.ShutdownHookManager$1.run(ShutdownHookManager.java:54)
> > 2013-03-21 10:25:18,817 INFO  [Thread-5] resourcemanager.ResourceManager
> (StringUtils.java:run(595)) - SHUTDOWN_MSG:
> > /************************************************************
> >
> >
> >
> > I don' t know what is chiled queue names and where to set that
> information. Please help me, what am I missing?
> >
> > Thanks,
> > Kishore
>
>