<?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 Re: YARN doesn 't start in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-doesn-t-start/m-p/162204#M24757</link>
    <description>&lt;P&gt;I restarted the server and it works. I will investigate more If this happens again. Thanks for the tips!&lt;/P&gt;</description>
    <pubDate>Fri, 08 Apr 2016 21:33:42 GMT</pubDate>
    <dc:creator>oalbertini</dc:creator>
    <dc:date>2016-04-08T21:33:42Z</dc:date>
    <item>
      <title>YARN doesn 't start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-doesn-t-start/m-p/162202#M24755</link>
      <description>&lt;P&gt;
	Hi,&lt;/P&gt;&lt;P&gt;
	Yarn doesn't start.&lt;/P&gt;&lt;P&gt;
	Here the log :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;stderr&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py", line 39, in &amp;lt;module&amp;gt;
    BeforeStartHook().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 219, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py", line 28, in hook
    import params
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py", line 123, in &amp;lt;module&amp;gt;
    hadoop_conf_dir = conf_select.get_hadoop_conf_dir(force_latest_on_upgrade=True)
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/conf_select.py", line 374, in get_hadoop_conf_dir
    select(stack_name, "hadoop", version)
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/conf_select.py", line 252, in select
    shell.checked_call(get_cmd("set-conf-dir", package, version), logoutput=False, quiet=False, sudo=True)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner
    result = function(command, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
    tries=tries, try_sleep=try_sleep)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper
    result = _call(command, **kwargs_copy)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 291, in _call
    raise Fail(err_msg)
resource_management.core.exceptions.Fail: Execution of 'conf-select set-conf-dir --package hadoop --stack-version 2.4.0.0-169 --conf-version 0' returned 1. sudo: no tty present and no askpass program specified&lt;/PRE&gt;&lt;P&gt;stdout&lt;/P&gt;&lt;PRE&gt;2016-04-08 13:47:08,962 - The hadoop conf dir /usr/hdp/current/hadoop-client/conf exists, will call conf-select on it for version 2.4.0.0-169
2016-04-08 13:47:08,962 - Checking if need to create versioned conf dir /etc/hadoop/2.4.0.0-169/0
2016-04-08 13:47:08,962 - call['conf-select create-conf-dir --package hadoop --stack-version 2.4.0.0-169 --conf-version 0'] {'logoutput': False, 'sudo': True, 'quiet': False, 'stderr': -1}
2016-04-08 13:47:08,977 - call returned (1, '', 'sudo: no tty present and no askpass program specified')
2016-04-08 13:47:08,977 - checked_call['conf-select set-conf-dir --package hadoop --stack-version 2.4.0.0-169 --conf-version 0'] {'logoutput': False, 'sudo': True, 'quiet': False}&lt;/PRE&gt;</description>
      <pubDate>Fri, 08 Apr 2016 20:51:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-doesn-t-start/m-p/162202#M24755</guid>
      <dc:creator>oalbertini</dc:creator>
      <dc:date>2016-04-08T20:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: YARN doesn 't start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-doesn-t-start/m-p/162203#M24756</link>
      <description>&lt;P&gt;Please try to execute the command manually on the node and see what it returns:&lt;/P&gt;&lt;P&gt;conf-select set-conf-dir --package hadoop --stack-version 2.4.0.0-169 --conf-version 0&lt;/P&gt;&lt;P&gt;This also looks specific to the environment: sudo:no tty present andno askpass program specified.  You could try manually starting on the node which may give more details.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2016 20:56:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-doesn-t-start/m-p/162203#M24756</guid>
      <dc:creator>iroberts</dc:creator>
      <dc:date>2016-04-08T20:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: YARN doesn 't start</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-doesn-t-start/m-p/162204#M24757</link>
      <description>&lt;P&gt;I restarted the server and it works. I will investigate more If this happens again. Thanks for the tips!&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2016 21:33:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/YARN-doesn-t-start/m-p/162204#M24757</guid>
      <dc:creator>oalbertini</dc:creator>
      <dc:date>2016-04-08T21:33:42Z</dc:date>
    </item>
  </channel>
</rss>

