<?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: Ambari 2.1.2 : cannot start newly added datanode because /usr/hdp/current link is missing in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-1-2-cannot-start-newly-added-datanode-because-usr/m-p/102227#M14813</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1198/koenigbodensee.html" nodeid="1198"&gt;@Gerd Koenig&lt;/A&gt; you need to run hdp-select tool with the full version of the HDP you're running on the other servers. Check if you have /usr/hdp/2.x directory that matches your current version on other nodes, once that's confirmed, refer to the docs to execute hdp-select statement associated with your version, then you restart all services on the node and run service checks.&lt;/P&gt;</description>
    <pubDate>Wed, 13 Jan 2016 13:40:49 GMT</pubDate>
    <dc:creator>aervits</dc:creator>
    <dc:date>2016-01-13T13:40:49Z</dc:date>
    <item>
      <title>Ambari 2.1.2 : cannot start newly added datanode because /usr/hdp/current link is missing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-1-2-cannot-start-newly-added-datanode-because-usr/m-p/102218#M14804</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an issue at installation time of datanode (Ambari 2.1.2, HDP 2.2.4) , it fails because at step "Datanode start" with the error:&lt;/P&gt;&lt;P&gt;""&lt;/P&gt;&lt;PRE&gt;  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 87, in action_create
    raise Fail("Applying %s failed, parent directory %s doesn't exist" % (self.resource, dirname))
resource_management.core.exceptions.Fail: Applying File['/usr/hdp/current/hadoop-client/conf/hadoop-policy.xml'] failed, parent directory /usr/hdp/current/hadoop-client/conf doesn't exist&lt;/PRE&gt;&lt;P&gt;""&lt;/P&gt;&lt;P&gt;Obviously the cause of this issue already happens at step "Datanode install", because the last log message is:&lt;/P&gt;&lt;P&gt;""&lt;/P&gt;&lt;PRE&gt;...

2016-01-12 19:44:17,233 - Skipping XmlConfig['core-site.xml'] due to only_if
2016-01-12 19:44:17,233 - Can only link configs for HDP-2.3 and higher.&lt;/PRE&gt;&lt;P&gt;""&lt;/P&gt;&lt;P&gt;Hmmm, strange, HDP2.2 should be supported by recent versions of Ambari...&lt;/P&gt;&lt;P&gt;Is this a known issue? any workarounds, hints what to do ?&lt;/P&gt;&lt;P&gt;Thanks, Gerd&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2016 02:53:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-1-2-cannot-start-newly-added-datanode-because-usr/m-p/102218#M14804</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2016-01-13T02:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari 2.1.2 : cannot start newly added datanode because /usr/hdp/current link is missing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-1-2-cannot-start-newly-added-datanode-because-usr/m-p/102219#M14805</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/1198/koenigbodensee.html" nodeid="1198"&gt;@Gerd Koenig&lt;/A&gt;&lt;P&gt;I would use compatiable ambari version with HDP and then upgrade ambari to save time. &lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2016 02:55:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-1-2-cannot-start-newly-added-datanode-because-usr/m-p/102219#M14805</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-01-13T02:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari 2.1.2 : cannot start newly added datanode because /usr/hdp/current link is missing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-1-2-cannot-start-newly-added-datanode-because-usr/m-p/102220#M14806</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;thanks for getting back that quickly.&lt;/P&gt;&lt;P&gt;Referring to page: &lt;A href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.1/bk_Installing_HDP_AMB/content/_determine_stack_compatibility.html"&gt;http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.1/bk_Installing_HDP_AMB/content/_determine_stack_compatibility.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am assuming that Ambari 2.1.2 is supporting HDP 2.2.4 ?!?!&lt;/P&gt;&lt;P&gt;Which version should I use instead ?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2016 03:10:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-1-2-cannot-start-newly-added-datanode-because-usr/m-p/102220#M14806</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2016-01-13T03:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari 2.1.2 : cannot start newly added datanode because /usr/hdp/current link is missing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-1-2-cannot-start-newly-added-datanode-because-usr/m-p/102221#M14807</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1198/koenigbodensee.html" nodeid="1198"&gt;@Gerd Koenig&lt;/A&gt;  You are right on the compatibility. Is it new install? or cleaning up existing install then installing new version ?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2016 03:12:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-1-2-cannot-start-newly-added-datanode-because-usr/m-p/102221#M14807</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-01-13T03:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari 2.1.2 : cannot start newly added datanode because /usr/hdp/current link is missing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-1-2-cannot-start-newly-added-datanode-because-usr/m-p/102222#M14808</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1198/koenigbodensee.html" nodeid="1198"&gt;@Gerd Koenig&lt;/A&gt;  &lt;/P&gt;&lt;P&gt;whats the output of following?&lt;/P&gt;&lt;P&gt;ls -l /usr/hdp&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2016 03:14:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-1-2-cannot-start-newly-added-datanode-because-usr/m-p/102222#M14808</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-01-13T03:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari 2.1.2 : cannot start newly added datanode because /usr/hdp/current link is missing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-1-2-cannot-start-newly-added-datanode-because-usr/m-p/102223#M14809</link>
      <description>&lt;P&gt;Hi Gerd, can you check the following,&lt;/P&gt;&lt;PRE&gt;rpm -qa | grep hadoop  # make sure it is installed and that /etc/hadoop/conf exists

ls -la /usr/hdp/current/hadoop-client  # should be a symlink to /etc/hadoop/conf, if not, create it&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Jan 2016 03:26:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-1-2-cannot-start-newly-added-datanode-because-usr/m-p/102223#M14809</guid>
      <dc:creator>afernandez</dc:creator>
      <dc:date>2016-01-13T03:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari 2.1.2 : cannot start newly added datanode because /usr/hdp/current link is missing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-1-2-cannot-start-newly-added-datanode-because-usr/m-p/102224#M14810</link>
      <description>&lt;P&gt; &lt;A href="https://community.hortonworks.com/questions/9567/ambari-212-cannot-start-newly-added-datanode-becau.html#"&gt;@Neeraj Sabharwal&lt;/A&gt;&lt;/P&gt;&lt;P&gt;ok, tried doing it again after removing any hadoop_* packages on that node from a previous run, but again:&lt;/P&gt;&lt;PRE&gt;...

2016-01-12 20:29:26,813 - Skipping XmlConfig['core-site.xml'] due to only_if
2016-01-12 20:29:26,814 - Can only link configs for HDP-2.3 and higher.&lt;/PRE&gt;&lt;P&gt;and then:&lt;/P&gt;&lt;PRE&gt;$ ls -al /usr/hdp
total 12
drwxr-xr-x  3 root root 4096 Jan 12 20:28 .
drwxr-xr-x 16 root root 4096 Jan 12 20:28 ..
drwxr-xr-x 13 root root 4096 Jan 12 20:29 2.2.4.2-2

hence, the link 'current' is missing...thereby the datanode fails at starting up&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Jan 2016 03:38:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-1-2-cannot-start-newly-added-datanode-because-usr/m-p/102224#M14810</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2016-01-13T03:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari 2.1.2 : cannot start newly added datanode because /usr/hdp/current link is missing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-1-2-cannot-start-newly-added-datanode-because-usr/m-p/102225#M14811</link>
      <description>&lt;P&gt;Maybe I will start completely from scratch with a fresh installation.&lt;/P&gt;&lt;P&gt;Which Ambari version would you recommend for setting up a fresh HDP 2.2.4 ? Yes, unfortunately I have to use that HDP version, an upgrade is planned for later this year &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2016 03:40:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-1-2-cannot-start-newly-added-datanode-because-usr/m-p/102225#M14811</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2016-01-13T03:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari 2.1.2 : cannot start newly added datanode because /usr/hdp/current link is missing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-1-2-cannot-start-newly-added-datanode-because-usr/m-p/102226#M14812</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1198/koenigbodensee.html" nodeid="1198"&gt;@Gerd Koenig&lt;/A&gt;  Let's follow the correct approach to cleanup&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/content/idea/138/cleanup-scripts-to-remove-old-hdp-bits.html"&gt;https://community.hortonworks.com/content/idea/138/cleanup-scripts-to-remove-old-hdp-bits.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2016 03:40:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-1-2-cannot-start-newly-added-datanode-because-usr/m-p/102226#M14812</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-01-13T03:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari 2.1.2 : cannot start newly added datanode because /usr/hdp/current link is missing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-1-2-cannot-start-newly-added-datanode-because-usr/m-p/102227#M14813</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1198/koenigbodensee.html" nodeid="1198"&gt;@Gerd Koenig&lt;/A&gt; you need to run hdp-select tool with the full version of the HDP you're running on the other servers. Check if you have /usr/hdp/2.x directory that matches your current version on other nodes, once that's confirmed, refer to the docs to execute hdp-select statement associated with your version, then you restart all services on the node and run service checks.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2016 13:40:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-1-2-cannot-start-newly-added-datanode-because-usr/m-p/102227#M14813</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-01-13T13:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari 2.1.2 : cannot start newly added datanode because /usr/hdp/current link is missing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-1-2-cannot-start-newly-added-datanode-because-usr/m-p/102228#M14814</link>
      <description>&lt;P&gt;just to add, most likely adding the node did not complete as hdp-select statement executed last to symlink /usr/hdp/2.x directory to /usr/hdp/current for client and server libs.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2016 13:42:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-1-2-cannot-start-newly-added-datanode-because-usr/m-p/102228#M14814</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-01-13T13:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari 2.1.2 : cannot start newly added datanode because /usr/hdp/current link is missing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-1-2-cannot-start-newly-added-datanode-because-usr/m-p/102229#M14815</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/326/afernandez.html" nodeid="326"&gt;@Alejandro Fernandez&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;thanks for your answer, but it is not exactly how it should look like &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; (maybe you are referring to an older version, before adding the version number into the installation directory tree).&lt;/P&gt;&lt;P&gt;Currently, the linking should be:&lt;/P&gt;&lt;P&gt;/usr/hdp/current -&amp;gt; /usr/hdp/2.2.4.2-2&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;/usr/hdp/2.2.4.2-2/hadoop/conf -&amp;gt; /etc/hadoop/conf&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2016 16:01:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-1-2-cannot-start-newly-added-datanode-because-usr/m-p/102229#M14815</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2016-01-13T16:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari 2.1.2 : cannot start newly added datanode because /usr/hdp/current link is missing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-1-2-cannot-start-newly-added-datanode-because-usr/m-p/102230#M14816</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;thanks for this input. I tried it, but the link named 'current' hasn't been created, seems like the hdp-select command didn't do anything?!?!&lt;/P&gt;&lt;PRE&gt;$ ls -al /usr/hdp
total 12
drwxr-xr-x  3 root root 4096 Jan 12 20:28 .
drwxr-xr-x 16 root root 4096 Jan 12 20:28 ..
drwxr-xr-x 13 root root 4096 Jan 13 08:56 2.2.4.2-2
$ /usr/bin/hdp-select set all 2.2.4.2-2
$ ls -al /usr/hdp
total 12
drwxr-xr-x  3 root root 4096 Jan 12 20:28 .
drwxr-xr-x 16 root root 4096 Jan 12 20:28 ..
drwxr-xr-x 13 root root 4096 Jan 13 08:56 2.2.4.2-2&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Jan 2016 16:07:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-1-2-cannot-start-newly-added-datanode-because-usr/m-p/102230#M14816</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2016-01-13T16:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari 2.1.2 : cannot start newly added datanode because /usr/hdp/current link is missing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-1-2-cannot-start-newly-added-datanode-because-usr/m-p/102231#M14817</link>
      <description>&lt;P&gt;does /usr/hdp/2.x exist &lt;A rel="user" href="https://community.cloudera.com/users/1198/koenigbodensee.html" nodeid="1198"&gt;@Gerd Koenig&lt;/A&gt;? Do you have enough space on /usr?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2016 19:16:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-1-2-cannot-start-newly-added-datanode-because-usr/m-p/102231#M14817</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-01-13T19:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari 2.1.2 : cannot start newly added datanode because /usr/hdp/current link is missing</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-1-2-cannot-start-newly-added-datanode-because-usr/m-p/102232#M14818</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt;, &lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt;&lt;/P&gt;&lt;P&gt;just to give you an update on this:&lt;/P&gt;&lt;P&gt;- yes, there was/is enough space in /usr and the dir /usr/hdp/2.2.5.2-2 has been created&lt;/P&gt;&lt;P&gt;- due to time pressure I decided to start again from scratch with ambari 2.0.1 (the combination which I used for earlier clusters as well), right now it looks good, also that particular host is up as a worker node&lt;/P&gt;&lt;P&gt;- to cleanup all the nodes I used the hostcleanup python script and some additional directory deletions (due to non-standard directories, e.g. for logs)&lt;/P&gt;&lt;P&gt;I will do the Ambari upgrade later on.&lt;/P&gt;&lt;P&gt;
Thanks for all you efforts&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2016 21:55:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-2-1-2-cannot-start-newly-added-datanode-because-usr/m-p/102232#M14818</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2016-01-13T21:55:08Z</dc:date>
    </item>
  </channel>
</rss>

