<?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: Restart Resource Manager does not work, can not start YARN in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Restart-Resource-Manager-does-not-work-can-not-start-YARN/m-p/234318#M85037</link>
    <description>&lt;P&gt;Hello it worked.&lt;/P&gt;&lt;P&gt;But now I am facing another issue. When I am starting YARN Registry DNS it says: &lt;/P&gt;&lt;PRE&gt; 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 registrydns' returned 1. mesg: ttyname failed: Inappropriate ioctl for device
ERROR: Cannot set priority of registrydns process 24309&lt;/PRE&gt;&lt;P&gt;I already set ulimit to 10000 as recommended.&lt;/P&gt;&lt;P&gt;Whats the issue here?&lt;/P&gt;</description>
    <pubDate>Wed, 21 Nov 2018 07:23:51 GMT</pubDate>
    <dc:creator>kuehnert_delitz</dc:creator>
    <dc:date>2018-11-21T07:23:51Z</dc:date>
    <item>
      <title>Restart Resource Manager does not work, can not start YARN</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Restart-Resource-Manager-does-not-work-can-not-start-YARN/m-p/234316#M85035</link>
      <description>&lt;P&gt;I set up successfully the Ambari server but some sevices can not be started.&lt;/P&gt;&lt;P&gt;If I want o start or restart the resource manager it aborts (after some time) giving me following message:&lt;/P&gt;&lt;PRE&gt;2018-11-19 00:13:30,067 - get_user_call_output returned (0, u'{"RemoteException":{"exception":"FileNotFoundException","javaClassName":"java.io.FileNotFoundException","message":"File does not exist: /ats/done/"}}404', u'')
2018-11-19 00:13:30,068 - Will retry 2 time(s), caught exception: DFS directory '/ats/done/' does not exist !. Sleeping for 20 sec(s)&lt;/PRE&gt;&lt;P&gt;It says /ats/done is not existing. Where do I create this folder?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Nov 2018 18:53:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Restart-Resource-Manager-does-not-work-can-not-start-YARN/m-p/234316#M85035</guid>
      <dc:creator>kuehnert_delitz</dc:creator>
      <dc:date>2018-11-19T18:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Restart Resource Manager does not work, can not start YARN</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Restart-Resource-Manager-does-not-work-can-not-start-YARN/m-p/234317#M85036</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/97831/kuehnertdelitzsch.html" nodeid="97831"&gt;@Andreas Kühnert&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I guess the directory got deleted somehow from HDFS. You can create it and try starting RM&lt;/P&gt;&lt;PRE&gt;# su hdfs
# kinit -kt /etc/security/keytabs/hdfs.headless.keytab {principal}  ---&amp;gt; Run this if your environment is kerberized
# hdfs dfs -mkdir -p /ats/done
# hdfs dfs -chown -R yarn:hadoop /ats/done&lt;/PRE&gt;&lt;P&gt;After running the commands, try to restart RM. If it fails with /ats/active directory not found, repeat the same steps changing the directory name.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;If this works , please take a moment to login and "Accept" the answer.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Nov 2018 23:24:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Restart-Resource-Manager-does-not-work-can-not-start-YARN/m-p/234317#M85036</guid>
      <dc:creator>asirna</dc:creator>
      <dc:date>2018-11-19T23:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Restart Resource Manager does not work, can not start YARN</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Restart-Resource-Manager-does-not-work-can-not-start-YARN/m-p/234318#M85037</link>
      <description>&lt;P&gt;Hello it worked.&lt;/P&gt;&lt;P&gt;But now I am facing another issue. When I am starting YARN Registry DNS it says: &lt;/P&gt;&lt;PRE&gt; 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 registrydns' returned 1. mesg: ttyname failed: Inappropriate ioctl for device
ERROR: Cannot set priority of registrydns process 24309&lt;/PRE&gt;&lt;P&gt;I already set ulimit to 10000 as recommended.&lt;/P&gt;&lt;P&gt;Whats the issue here?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 07:23:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Restart-Resource-Manager-does-not-work-can-not-start-YARN/m-p/234318#M85037</guid>
      <dc:creator>kuehnert_delitz</dc:creator>
      <dc:date>2018-11-21T07:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: Restart Resource Manager does not work, can not start YARN</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Restart-Resource-Manager-does-not-work-can-not-start-YARN/m-p/234319#M85038</link>
      <description>&lt;P&gt;Okay it worked!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;But now I am facing issue with starting YARN Registry DNS.&lt;/P&gt;&lt;PRE&gt; 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 registrydns' returned 1. mesg: ttyname failed: Inappropriate ioctl for device
ERROR: Cannot set priority of registrydns process 24309&lt;/PRE&gt;&lt;P&gt;Whats the issue here? Why it can not set its priority?&lt;/P&gt;&lt;P&gt;Thanks in advance &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 07:23:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Restart-Resource-Manager-does-not-work-can-not-start-YARN/m-p/234319#M85038</guid>
      <dc:creator>kuehnert_delitz</dc:creator>
      <dc:date>2018-11-21T07:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Restart Resource Manager does not work, can not start YARN</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Restart-Resource-Manager-does-not-work-can-not-start-YARN/m-p/234320#M85039</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/97831/kuehnertdelitzsch.html" nodeid="97831"&gt;@Andreas Kühnert&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Glad that the issue is resolved. Since this is a different issue, I suggest to open a new thread for this issue so that the main thread doesn't get deviated. I'm not sure of that issue, may be other experts can help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 11:46:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Restart-Resource-Manager-does-not-work-can-not-start-YARN/m-p/234320#M85039</guid>
      <dc:creator>asirna</dc:creator>
      <dc:date>2018-11-21T11:46:55Z</dc:date>
    </item>
  </channel>
</rss>

