Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Resource Manager Exited after Starting

Resource Manager Exited after Starting

New Contributor

Hello,

When i starting Yarn services through Ambari UI, after few seconds resource manager only stopped.below the log file content,

2017-10-31 05:04:56,692 INFO util.AbstractLivelinessMonitor (AbstractLivelinessMonitor.java:run(139)) - AMLivelinessMonitor thread interrupted 2017-10-31 05:04:56,692 INFO util.AbstractLivelinessMonitor (AbstractLivelinessMonitor.java:run(139)) - org.apache.hadoop.yarn.server.resourcemanager.rmcontainer.ContainerAllocationExpirer thread interrupted 2017-10-31 05:04:56,692 INFO util.AbstractLivelinessMonitor (AbstractLivelinessMonitor.java:run(139)) - AMLivelinessMonitor thread interrupted 2017-10-31 05:04:56,695 INFO impl.MetricsSystemImpl (MetricsSystemImpl.java:stop(211)) - Stopping ResourceManager metrics system... 2017-10-31 05:04:56,696 INFO impl.MetricsSinkAdapter (MetricsSinkAdapter.java:publishMetricsFromQueue(141)) - timeline thread interrupted. 2017-10-31 05:04:56,698 INFO impl.MetricsSystemImpl (MetricsSystemImpl.java:stop(217)) - ResourceManager metrics system stopped. 2017-10-31 05:04:56,717 INFO impl.MetricsSystemImpl (MetricsSystemImpl.java:shutdown(606)) - ResourceManager metrics system shutdown complete. 2017-10-31 05:04:56,717 INFO event.AsyncDispatcher (AsyncDispatcher.java:serviceStop(142)) - AsyncDispatcher is draining to stop, igonring any new events. 2017-10-31 05:04:56,754 INFO zookeeper.ZooKeeper (ZooKeeper.java:close(684)) - Session: 0x15f70af0cf5000e closed 2017-10-31 05:04:56,754 INFO zookeeper.ClientCnxn (ClientCnxn.java:run(524)) - EventThread shut down 2017-10-31 05:04:56,755 INFO resourcemanager.ResourceManager (ResourceManager.java:transitionToStandby(1077)) - Transitioned to standby state 2017-10-31 05:04:56,756 FATAL resourcemanager.ResourceManager (ResourceManager.java:main(1232)) - Error starting ResourceManager org.apache.hadoop.service.ServiceStateException: java.io.IOException: No FileSystem for scheme: hdfs at org.apache.hadoop.service.ServiceStateException.convert(ServiceStateException.java:59) at org.apache.hadoop.service.AbstractService.start(AbstractService.java:204) at org.apache.hadoop.service.CompositeService.serviceStart(CompositeService.java:120) at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193) at org.apache.hadoop.service.CompositeService.serviceStart(CompositeService.java:120) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceStart(ResourceManager.java:1094) at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193) at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.main(ResourceManager.java:1229) Caused by: java.io.IOException: No FileSystem for scheme: hdfs at org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2786) at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2793) at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:99) at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2829) at org.apache.hadoop.fs.FileSystem$Cache.getUnique(FileSystem.java:2817) at org.apache.hadoop.fs.FileSystem.newInstance(FileSystem.java:437) at org.apache.hadoop.fs.FileSystem.newInstance(FileSystem.java:445) at org.apache.hadoop.fs.FileSystem.newInstance(FileSystem.java:427) at org.apache.hadoop.yarn.client.api.impl.FileSystemTimelineWriter.<init>(FileSystemTimelineWriter.java:115) at org.apache.hadoop.yarn.client.api.impl.TimelineClientImpl.createTimelineWriter(TimelineClientImpl.java:320) at org.apache.hadoop.yarn.client.api.impl.TimelineClientImpl.serviceStart(TimelineClientImpl.java:312) at org.apache.hadoop.service.AbstractService.start(AbstractService.java:193) ... 6 more 2017-10-31 05:04:56,758 INFO resourcemanager.ResourceManager (LogAdapter.java:info(45)) - SHUTDOWN_MSG:

/************************************************************ SHUTDOWN_MSG: Shutting down ResourceManager at snn1/11.11.11.156 ************************************************************/

2 REPLIES 2
Highlighted

Re: Resource Manager Exited after Starting

Hi @Antony Thilagar,

The below looks like HDFS namenode is not started.

Please check if HDFS components are started properly or not.

Error starting ResourceManager org.apache.hadoop.service.ServiceStateException: java.io.IOException: No FileSystem for scheme: hdfs at org.apache.hadoop.service.ServiceStateException.convert(ServiceStateException.java:59) at 

Re: Resource Manager Exited after Starting

Hi @Antony Thilagar,

The below looks like HDFS namenode is not started.

Please check if HDFS components are started properly or not.

Error starting ResourceManager org.apache.hadoop.service.ServiceStateException: java.io.IOException: No FileSystem for scheme: hdfs at org.apache.hadoop.service.ServiceStateException.convert(ServiceStateException.java:59) at