<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Hortonworks : Start Resource Manager Failed in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hortonworks-Start-Resource-Manager-Failed/m-p/213563#M84448</link>
    <description>&lt;P&gt;Traceback (most recent call last):&lt;/P&gt;&lt;PRE&gt;  File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/YARN/package/scripts/resourcemanager.py", line 275, in &amp;lt;module&amp;gt;
    Resourcemanager().execute()
  File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 353, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/YARN/package/scripts/resourcemanager.py", line 158, in start
    service('resourcemanager', action='start')
  File "/usr/lib/ambari-agent/lib/ambari_commons/os_family_impl.py", line 89, in thunk
    return fn(*args, **kwargs)
  File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/YARN/package/scripts/service.py", line 92, in service
    Execute(daemon_cmd, user = usr, not_if = check_process)
  File "/usr/lib/ambari-agent/lib/resource_management/core/base.py", line 166, in __init__
    self.env.run()
  File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 160, in run
    self.run_action(resource, action)
  File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 124, in run_action
    provider_action()
  File "/usr/lib/ambari-agent/lib/resource_management/core/providers/system.py", line 263, in action_run
    returns=self.resource.returns)
  File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 72, in inner
    result = function(command, **kwargs)
  File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 102, in checked_call
    tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy, returns=returns)
  File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 150, in _call_wrapper
    result = _call(command, **kwargs_copy)
  File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 314, in _call
    raise ExecutionFailed(err_msg, code, out, err)
resource_management.core.exceptions.ExecutionFailed: Execution of 'ulimit -c unlimited; export HADOOP_LIBEXEC_DIR=/usr/hdp/3.0.0.0-1634/hadoop/libexec &amp;amp;&amp;amp; /usr/hdp/3.0.0.0-1634/hadoop-yarn/bin/yarn --config /usr/hdp/3.0.0.0-1634/hadoop/conf --daemon start resourcemanager' returned 1.&lt;/PRE&gt;</description>
    <pubDate>Fri, 19 Oct 2018 00:22:17 GMT</pubDate>
    <dc:creator>gupta67222</dc:creator>
    <dc:date>2018-10-19T00:22:17Z</dc:date>
    <item>
      <title>Hortonworks : Start Resource Manager Failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hortonworks-Start-Resource-Manager-Failed/m-p/213563#M84448</link>
      <description>&lt;P&gt;Traceback (most recent call last):&lt;/P&gt;&lt;PRE&gt;  File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/YARN/package/scripts/resourcemanager.py", line 275, in &amp;lt;module&amp;gt;
    Resourcemanager().execute()
  File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 353, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/YARN/package/scripts/resourcemanager.py", line 158, in start
    service('resourcemanager', action='start')
  File "/usr/lib/ambari-agent/lib/ambari_commons/os_family_impl.py", line 89, in thunk
    return fn(*args, **kwargs)
  File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/YARN/package/scripts/service.py", line 92, in service
    Execute(daemon_cmd, user = usr, not_if = check_process)
  File "/usr/lib/ambari-agent/lib/resource_management/core/base.py", line 166, in __init__
    self.env.run()
  File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 160, in run
    self.run_action(resource, action)
  File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 124, in run_action
    provider_action()
  File "/usr/lib/ambari-agent/lib/resource_management/core/providers/system.py", line 263, in action_run
    returns=self.resource.returns)
  File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 72, in inner
    result = function(command, **kwargs)
  File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 102, in checked_call
    tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy, returns=returns)
  File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 150, in _call_wrapper
    result = _call(command, **kwargs_copy)
  File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 314, in _call
    raise ExecutionFailed(err_msg, code, out, err)
resource_management.core.exceptions.ExecutionFailed: Execution of 'ulimit -c unlimited; export HADOOP_LIBEXEC_DIR=/usr/hdp/3.0.0.0-1634/hadoop/libexec &amp;amp;&amp;amp; /usr/hdp/3.0.0.0-1634/hadoop-yarn/bin/yarn --config /usr/hdp/3.0.0.0-1634/hadoop/conf --daemon start resourcemanager' returned 1.&lt;/PRE&gt;</description>
      <pubDate>Fri, 19 Oct 2018 00:22:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hortonworks-Start-Resource-Manager-Failed/m-p/213563#M84448</guid>
      <dc:creator>gupta67222</dc:creator>
      <dc:date>2018-10-19T00:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Hortonworks : Start Resource Manager Failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hortonworks-Start-Resource-Manager-Failed/m-p/213564#M84449</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/97568/gupta67222.html" nodeid="97568"&gt;@Prashant Gupta&lt;/A&gt; &lt;/P&gt;&lt;P&gt;As we see that ambari triggered the following command which did not get executed.    Hence there might be some additional logging happened inside the "resource manager" logs.&lt;/P&gt;&lt;P&gt;I will suggest you to please check and share the RM logs it should show the cause of command execution failure.&lt;/P&gt;&lt;P&gt;Other option to isolate the issue will be to try restarting the ResourceManager manually using the same command to see if it works?&lt;/P&gt;&lt;PRE&gt;# su - yarn

# ulimit -c unlimited; export HADOOP_LIBEXEC_DIR=/usr/hdp/3.0.0.0-1634/hadoop/libexec &amp;amp;&amp;amp; /usr/hdp/3.0.0.0-1634/hadoop-yarn/bin/yarn --config /usr/hdp/3.0.0.0-1634/hadoop/conf --daemon start resourcemanager&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;If you face any issue then please share the logs.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Oct 2018 05:23:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hortonworks-Start-Resource-Manager-Failed/m-p/213564#M84449</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-10-19T05:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Hortonworks : Start Resource Manager Failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hortonworks-Start-Resource-Manager-Failed/m-p/213565#M84450</link>
      <description>&lt;P&gt;Dear Jay,&lt;/P&gt;&lt;P&gt;Please find the resource manager log file after executed the above the command.&lt;/P&gt;&lt;P&gt;we have changed server name to localhost , but we r using FQN.&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Prashant Gupta&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/92945-resourcemanager-logfile.txt"&gt;resourcemanager-logfile.txt&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Oct 2018 19:29:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hortonworks-Start-Resource-Manager-Failed/m-p/213565#M84450</guid>
      <dc:creator>gupta67222</dc:creator>
      <dc:date>2018-10-22T19:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Hortonworks : Start Resource Manager Failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hortonworks-Start-Resource-Manager-Failed/m-p/213566#M84451</link>
      <description>&lt;P&gt;Dear Jay,&lt;/P&gt;&lt;P&gt;Any update for above the query.&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Prashant Gupta&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 14:30:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hortonworks-Start-Resource-Manager-Failed/m-p/213566#M84451</guid>
      <dc:creator>gupta67222</dc:creator>
      <dc:date>2018-10-24T14:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: Hortonworks : Start Resource Manager Failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hortonworks-Start-Resource-Manager-Failed/m-p/213567#M84452</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/97568/gupta67222.html" nodeid="97568"&gt;@Prashant Gupta&lt;/A&gt;&lt;P&gt;From your logs attached, it looks like you have enabled GPU Scheduling. But it is still using the DefaultResourceCalculator.&lt;/P&gt;&lt;PRE&gt;2018-10-22 17:48:02,490 FATAL resourcemanager.ResourceManager (ResourceManager.java:main(1495)) - Error starting ResourceManager
org.apache.hadoop.yarn.exceptions.YarnRuntimeException: RM uses DefaultResourceCalculator which used only memory as resource-type but invalid resource-types specified {yarn.io/gpu=name: yarn.io/gpu, units: , type: COUNTABLE, value: 0, minimum allocation: 0, maximum allocation: 9223372036854775807, memory-mb=name: memory-mb, units: Mi, type: COUNTABLE, value: 0, minimum allocation: 1024, maximum allocation: 191488, vcores=name: vcores, units: , type: COUNTABLE, value: 0, minimum allocation: 1, maximum allocation: 32}. Use DomainantResourceCalculator instead to make effective use of these resource-types&lt;/PRE&gt;&lt;P&gt;In YARN-&amp;gt;Configs-&amp;gt;Advanced-&amp;gt;Scheduler , set the following&lt;/P&gt;&lt;PRE&gt;yarn.scheduler.capacity.resource-calculator=org.apache.hadoop.yarn.util.resource.DominantResourceCalculator&lt;/PRE&gt;</description>
      <pubDate>Wed, 24 Oct 2018 14:38:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hortonworks-Start-Resource-Manager-Failed/m-p/213567#M84452</guid>
      <dc:creator>TarunParimi</dc:creator>
      <dc:date>2018-10-24T14:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: Hortonworks : Start Resource Manager Failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hortonworks-Start-Resource-Manager-Failed/m-p/213568#M84453</link>
      <description>&lt;P&gt;Dear Jay,&lt;/P&gt;&lt;P&gt;After added above the property it's working fine.&lt;/P&gt;&lt;P&gt;Thanks for support.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant Gupta&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 17:45:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hortonworks-Start-Resource-Manager-Failed/m-p/213568#M84453</guid>
      <dc:creator>gupta67222</dc:creator>
      <dc:date>2018-10-24T17:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Hortonworks : Start Resource Manager Failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hortonworks-Start-Resource-Manager-Failed/m-p/213569#M84454</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/97568/gupta67222.html" nodeid="97568"&gt;@Prashant Gupta&lt;/A&gt; Good to know that the ResourceManager started successfully. Kindly mark the answer as accepted if the problem got resolved.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 18:06:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hortonworks-Start-Resource-Manager-Failed/m-p/213569#M84454</guid>
      <dc:creator>TarunParimi</dc:creator>
      <dc:date>2018-10-24T18:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Hortonworks : Start Resource Manager Failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hortonworks-Start-Resource-Manager-Failed/m-p/213570#M84455</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/62182/tparimi.html" nodeid="62182"&gt;@Tarun Parimi&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank you for sharing the working solution. I am marking this thread as resolved.&lt;BR /&gt;&lt;A rel="user" href="https://community.cloudera.com/users/62182/tparimi.html" nodeid="62182"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2018 14:28:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hortonworks-Start-Resource-Manager-Failed/m-p/213570#M84455</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-10-25T14:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Hortonworks : Start Resource Manager Failed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hortonworks-Start-Resource-Manager-Failed/m-p/213571#M84456</link>
      <description>&lt;P&gt;Dear Jay,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;When i am trying to enable HA in Ambari .then getting below error .&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;Traceback (most recent call last):

File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py", line 348, in &amp;lt;module&amp;gt;

NameNode().execute()

File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 375, in execute

method(env)

File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py", line 90, in start

upgrade_suspended=params.upgrade_suspended, env=env)

File "/usr/lib/ambari-agent/lib/ambari_commons/os_family_impl.py", line 89, in thunk

return fn(*args, **kwargs)

File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_namenode.py", line 175, in namenode

create_log_dir=True

File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/utils.py", line 276, in service

Execute(daemon_cmd, not_if=process_id_exists_command, environment=hadoop_env_exports)

File "/usr/lib/ambari-agent/lib/resource_management/core/base.py", line 166, in __init__

self.env.run()

File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 160, in run

self.run_action(resource, action)

File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 124, in run_action

provider_action()

File "/usr/lib/ambari-agent/lib/rexample.comesource_management/core/providers/system.py", line 262, in action_run

tries=self.resource.tries, try_sleep=self.resource.try_sleep)

File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 72, in inner

result = function(command, **kwargs)

File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 102, in checked_call

tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy)

File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 150, in _call_wrapper

result = _call(command, **kwargs_copy)

File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 303, in _call

raise ExecutionFailed(err_msg, code, out, err)

resource_management.core.exceptions.ExecutionFailed: Execution of 'ambari-sudo.sh su hdfs -l -s /bin/bash -c 'ulimit -c unlimited ; /usr/hdp/2.6.5.0-292/hadoop/sbin/hadoop-daemon.sh --config /usr/hdp/2.6.5.0-292/hadoop/conf start namenode'' returned 1. starting namenode, logging to /var/log/hadoop/hdfs/hadoop-hdfs-namenode-HBDCAUTDBN14.cidr.gov.in.out

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".

SLF4J: Defaulting to no-operation (NOP) logger implementation

SLF4J: See &lt;A href="http://www.slf4j.org/codes.html#StaticLoggerBinder" target="_blank"&gt;http://www.slf4j.org/codes.html#StaticLoggerBinder&lt;/A&gt; for further details.&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Prashant Gupta&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 01:19:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hortonworks-Start-Resource-Manager-Failed/m-p/213571#M84456</guid>
      <dc:creator>gupta67222</dc:creator>
      <dc:date>2019-04-11T01:19:36Z</dc:date>
    </item>
  </channel>
</rss>

