<?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: CDH 5.8.0 yarn user permissions on installation in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-8-0-yarn-user-permissions-on-installation/m-p/44639#M37012</link>
    <description>&lt;P&gt;&lt;SPAN&gt;having the same issue but not sure about the solution here&amp;nbsp;&amp;nbsp;, how is Red Hat 7.2 not in the explicit list of supported versions ?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Sep 2016 17:06:15 GMT</pubDate>
    <dc:creator>abraji</dc:creator>
    <dc:date>2016-09-01T17:06:15Z</dc:date>
    <item>
      <title>CDH 5.8.0 yarn user permissions on installation</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-8-0-yarn-user-permissions-on-installation/m-p/43590#M37010</link>
      <description>&lt;P&gt;Using Cloudera Manager for&amp;nbsp;CDH 5.8.0, deploying on AWS machines with RH 7.2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When installing YARN, the NodeManagers fail to start. Looking at the logs, there is an exception as follows:&lt;/P&gt;&lt;PRE&gt;Service org.apache.hadoop.yarn.server.nodemanager.recovery.NMLeveldbStateStoreService failed in state INITED; cause: org.fusesource.leveldbjni.internal.NativeDB$DBException: IO error: /var/lib/hadoop-yarn/yarn-nm-recovery/yarn-nm-state/LOCK: Permission denied
org.fusesource.leveldbjni.internal.NativeDB$DBException: IO error: /var/lib/hadoop-yarn/yarn-nm-recovery/yarn-nm-state/LOCK: Permission denied
	at org.fusesource.leveldbjni.internal.NativeDB.checkStatus(NativeDB.java:200)
	at org.fusesource.leveldbjni.internal.NativeDB.open(NativeDB.java:218)
	at org.fusesource.leveldbjni.JniDBFactory.open(JniDBFactory.java:168)
	at ....&lt;/PRE&gt;&lt;P&gt;This error is actually identical to the one reported in this post&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/t5/Cloudera-Manager-Installation/CDH5-2-yarn-nm-state-LOCK-Permission-denied/m-p/42828/highlight/true#M7695" target="_blank"&gt;https://community.cloudera.com/t5/Cloudera-Manager-Installation/CDH5-2-yarn-nm-state-LOCK-Permission-denied/m-p/42828/highlight/true#M7695&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Although the version/diagnostics are not the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, I've connected to one of NodeManager machines to take a look, and eventually I've seen that the home directory of yarn belonged to root and did not have any permissions:&lt;/P&gt;&lt;PRE&gt;d---------. 2 root root 6&amp;nbsp;Aug 5 05:53 hadoop-yarn&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As soon as I've given permissions to it, the NodeManager has started properly.&lt;/P&gt;&lt;PRE&gt;chown -R yarn:yarn /var/lib/hadoop-yarn
chmod 770 /var/lib/hadoop-yarn
drwxrwx---. 3 yarn yarn 49 Aug 5 06:37 hadoop-yarn&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I don't want to do this for all the machines (and potentially for many other users that I see are wrong in the /var/lib directory), and I think it must be my mistake when installing...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried removing the YARN service and installing it again, but I get the same result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:33:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-8-0-yarn-user-permissions-on-installation/m-p/43590#M37010</guid>
      <dc:creator>lrnzcig</dc:creator>
      <dc:date>2022-09-16T10:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: CDH 5.8.0 yarn user permissions on installation</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-8-0-yarn-user-permissions-on-installation/m-p/43646#M37011</link>
      <description>&lt;P&gt;The problem got solved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The solution of the problem was as "simple" as re-running everything using CentOS 6.4. (Red Hat 7.2 is not really in the explicit list of supported versions).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Although at the same time I could connect to the AWS instances with the user "root" (in RH 7.2 AWS I had to do it with "ec2-user"). Not sure about the difference between the 2 users in AWS, but it may or may not be the reason why the issue was solved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks everybody.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2016 14:37:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-8-0-yarn-user-permissions-on-installation/m-p/43646#M37011</guid>
      <dc:creator>lrnzcig</dc:creator>
      <dc:date>2016-08-08T14:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: CDH 5.8.0 yarn user permissions on installation</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-8-0-yarn-user-permissions-on-installation/m-p/44639#M37012</link>
      <description>&lt;P&gt;&lt;SPAN&gt;having the same issue but not sure about the solution here&amp;nbsp;&amp;nbsp;, how is Red Hat 7.2 not in the explicit list of supported versions ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2016 17:06:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-8-0-yarn-user-permissions-on-installation/m-p/44639#M37012</guid>
      <dc:creator>abraji</dc:creator>
      <dc:date>2016-09-01T17:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: CDH 5.8.0 yarn user permissions on installation</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-8-0-yarn-user-permissions-on-installation/m-p/44642#M37013</link>
      <description>&lt;P&gt;Fair enough. I've tried to remember and looked again for the info and found this,&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cloudera.com/documentation/enterprise/release-notes/topics/rn_consolidated_pcm.html#os58" target="_blank"&gt;https://www.cloudera.com/documentation/enterprise/release-notes/topics/rn_consolidated_pcm.html#os58&lt;/A&gt;&lt;/P&gt;&lt;P&gt;which says that 5.8 supports RH7.2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe the problem is that at that time I read this page&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cloudera.com/documentation/enterprise/5-6-x/topics/cdh_ig_req_supported_versions.html" target="_blank"&gt;https://www.cloudera.com/documentation/enterprise/5-6-x/topics/cdh_ig_req_supported_versions.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;in which support for CDH 5 in general goes only until RH7.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To be honest, at that moment I was just trying to train myself and I did not need to stick to RH7.2, but of course now I would not dare to say which one is supported and which one isn't.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2016 19:39:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-8-0-yarn-user-permissions-on-installation/m-p/44642#M37013</guid>
      <dc:creator>lrnzcig</dc:creator>
      <dc:date>2016-09-01T19:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: CDH 5.8.0 yarn user permissions on installation</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-8-0-yarn-user-permissions-on-installation/m-p/44644#M37014</link>
      <description>yep , gotta pick your battles .still would love some help with this one ....</description>
      <pubDate>Thu, 01 Sep 2016 21:05:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-8-0-yarn-user-permissions-on-installation/m-p/44644#M37014</guid>
      <dc:creator>abraji</dc:creator>
      <dc:date>2016-09-01T21:05:56Z</dc:date>
    </item>
  </channel>
</rss>

