<?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: Duplicate hostname  in Cloudera Manager 5.7.2 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Duplicate-hostname-in-Cloudera-Manager-5-7-2/m-p/55751#M62663</link>
    <description>&lt;P&gt;Hi Elias,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just reset the mysql password to get oozie work , thanks for the link.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;there is one more issue since then. &amp;nbsp;I cannot start the zookeeper servers. I got the following error when I tried to start 3 zookeepers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"Starting these new ZooKeeper Servers may cause the existing ZooKeeper Datastore to be lost. Try again after restarting any &lt;/SPAN&gt;&lt;SPAN&gt;existing ZooKeeper Servers with outdated configurations. If you do not want to preserve the existing Datastore, you can start &lt;/SPAN&gt;&lt;SPAN&gt;each ZooKeeper Server from its respective Status page. "&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;it is ok not to preserve the existing datastore. but I go to the host's status page, I didnt find the link or the location that can allow me to start the zookeeper server manually. do you have any suggestion?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Jun 2017 00:32:23 GMT</pubDate>
    <dc:creator>cloudtiger</dc:creator>
    <dc:date>2017-06-13T00:32:23Z</dc:date>
    <item>
      <title>Duplicate hostname  in Cloudera Manager 5.7.2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Duplicate-hostname-in-Cloudera-Manager-5-7-2/m-p/55649#M62658</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have restarted or reinstalled cloudera-scm-agent, it generates a different uuid, and created duplicate hostname in the cloudera manager, one hostname with existing rules but has no hearburst, another duplicate hostname has heartburst with no rules.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN&gt;&lt;A href="http://10.21.33.46:7180/cmf/hardware/hosts/27/status" target="_blank"&gt;cahive-master02&lt;/A&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;10.21.33.47&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;5.67s ago&lt;/TD&gt;&lt;TD&gt;0.00&amp;nbsp;&amp;nbsp;0.00&amp;nbsp;&amp;nbsp;0.00&lt;/TD&gt;&lt;TD&gt;&lt;DIV class="usage"&gt;&lt;SPAN class="usage-reading"&gt;35 GiB / 94 GiB&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;TD&gt;&lt;DIV class="usage"&gt;&lt;SPAN class="usage-reading"&gt;248.5 MiB / 9.3 GiB&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;TD&gt;&lt;DIV class="usage"&gt;&lt;SPAN class="usage-reading"&gt;0 B / 5.9 GiB&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN&gt;&lt;A href="http://10.21.33.46:7180/cmf/hardware/hosts/3/status" target="_blank"&gt;cahive-master02&lt;/A&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;SPAN&gt;&lt;A href="http://10.21.33.46:7180/cmf/clusters/1/status" target="_blank"&gt;Cluster 1&lt;/A&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;10.21.33.47&lt;/TD&gt;&lt;TD&gt;&lt;SPAN&gt;&lt;SPAN class="role-expander"&gt;10 Role(s)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noticed two have a different machine id. &amp;nbsp;I deleted the first hostname as shown above, stoped cloudera-scm-agent and changed /var/lib/cloudera-scm-agent/uuid to the same machine id of another hostname. then restart cloudera-scm-agent, I still saw two duplicate hostname shows up with the same machine id. is there a way to fix it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to delete all of them and re-join. but i have no luck. I eneded up with the following error when removing them from cluster:&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;"Hosts Decommission&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;java.lang.IllegalStateException"&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2017 23:05:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Duplicate-hostname-in-Cloudera-Manager-5-7-2/m-p/55649#M62658</guid>
      <dc:creator>cloudtiger</dc:creator>
      <dc:date>2017-06-09T23:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate hostname  in Cloudera Manager 5.7.2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Duplicate-hostname-in-Cloudera-Manager-5-7-2/m-p/55674#M62659</link>
      <description>&lt;P&gt;I saw the similar issue posted last year.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/t5/Cloudera-Manager-Installation/Cloudera-Manager-5-8-Duplicate-Hosts-Unable-to-start-services/td-p/46312" target="_blank"&gt;https://community.cloudera.com/t5/Cloudera-Manager-Installation/Cloudera-Manager-5-8-Duplicate-Hosts-Unable-to-start-services/td-p/46312&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is no solution for this issue.&lt;/P&gt;&lt;P&gt;What I found:&lt;/P&gt;&lt;P&gt;1) I cannnot&amp;nbsp;&lt;SPAN&gt;decommision as the aboive user said since I got the error:&amp;nbsp;java.lang.IllegalStateException&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2) I fixed the wrong host id and even the host id is the same, it still shows two duplicate hostname in a different cluster&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;Anybody has any suggestions here? thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2017 22:51:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Duplicate-hostname-in-Cloudera-Manager-5-7-2/m-p/55674#M62659</guid>
      <dc:creator>cloudtiger</dc:creator>
      <dc:date>2017-06-11T22:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate hostname  in Cloudera Manager 5.7.2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Duplicate-hostname-in-Cloudera-Manager-5-7-2/m-p/55706#M62660</link>
      <description>&lt;P&gt;Duplicate hosts are usually caused when the /var/lib/cloudera-scm-agent/uuid file has been edited&amp;nbsp;or removed.&lt;/P&gt;&lt;P&gt;To fix this issue you can try the following example:&lt;BR /&gt;Let’s say:&lt;BR /&gt;HostA is the original/correct host with Roles on it.&lt;BR /&gt;HostB is the new duplicate/incorrect host.&lt;BR /&gt;From the Cloudera Manager UI navigate to the Host page (CM -&amp;gt; Hosts -&amp;gt; “All Hosts”)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Identify original UUID&lt;BR /&gt;Click on HostA -&amp;gt; Under “Details” record the “Host ID”. This is the UUID. Let’s call it “HostA-UUID” (it usually is a long alpha numeric number).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. login to the Host from command line and navigate to var/lib/cloudera-scm-agent/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Stop the agent&lt;BR /&gt;service cloudera-scm-agent stop&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. Make a backup of the existing uuid file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;5. Change the contents of the uuid file with the original uuid (i.e HostA-UUID from step 1)&lt;BR /&gt;echo -n “HostA-UUID” &amp;gt; /var/lib/cloudera-scm-agent/uuid&lt;/P&gt;&lt;P&gt;For example:&lt;BR /&gt;In my local env my UUID/Host ID is f7b2231c-dbd0-47ff-bf09-7961080cc065:&lt;BR /&gt;echo –n “f7b2231c-dbd0-47ff-bf09-7961080cc065” &amp;gt; /var/lib/cloudera-scm-agent/uuid&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;6. Make sure you have not introduced a carriage return by running cat on the uuif file:&lt;BR /&gt;cat uuid&lt;BR /&gt;(your command line prompt should be on the same line as the restored uuid.&lt;BR /&gt;For example:&lt;BR /&gt;[mytestenv] cat uuid&lt;/P&gt;&lt;P&gt;f7b2231c-dbd0-47ff-bf09-7961080cc065[mytestenv]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;7. Start the Agent:&lt;BR /&gt;service cloudera-scm-agent&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;8. From the Host page in Cloudera manager, check box HostB (the bad duplicate host with no roles) -&amp;gt; select the “Actions for Selected” drop down -&amp;gt; Delete&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2017 15:15:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Duplicate-hostname-in-Cloudera-Manager-5-7-2/m-p/55706#M62660</guid>
      <dc:creator>Elias</dc:creator>
      <dc:date>2017-06-12T15:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate hostname  in Cloudera Manager 5.7.2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Duplicate-hostname-in-Cloudera-Manager-5-7-2/m-p/55744#M62661</link>
      <description>&lt;P&gt;Elias,&lt;/P&gt;&lt;P&gt;it now works with your solution. echo -n do the trick. thanks so much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have another issue with oozie, I may have deleted the oozie role&amp;nbsp;from hadoop when decommission server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I need to add the role back and it asks me the database username and password.&lt;/P&gt;&lt;P&gt;where do I find my previous username and password for oozie? or it doesn't matter if I create a new set of database username and password for oozie.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2017 21:57:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Duplicate-hostname-in-Cloudera-Manager-5-7-2/m-p/55744#M62661</guid>
      <dc:creator>cloudtiger</dc:creator>
      <dc:date>2017-06-12T21:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate hostname  in Cloudera Manager 5.7.2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Duplicate-hostname-in-Cloudera-Manager-5-7-2/m-p/55746#M62662</link>
      <description>&lt;P&gt;That is great news! thank you for the update.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For your Oozie question:&lt;/P&gt;&lt;P&gt;If you do not know the password, you create a new oozie database as per our docuemtnation (Mysql for example[1]).&lt;/P&gt;&lt;P&gt;Then add the oozie service:&lt;/P&gt;&lt;P&gt;From Cloudera Manager's home screen, click on the Cluster drop down and select "Add Service" and follow the wizard.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[1]&amp;nbsp;&lt;A href="https://www.cloudera.com/documentation/enterprise/5-7-x/topics/cm_ig_mysql.html#id_ijy_cwt_g5" target="_blank"&gt;https://www.cloudera.com/documentation/enterprise/5-7-x/topics/cm_ig_mysql.html#id_ijy_cwt_g5&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2017 22:36:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Duplicate-hostname-in-Cloudera-Manager-5-7-2/m-p/55746#M62662</guid>
      <dc:creator>Elias</dc:creator>
      <dc:date>2017-06-12T22:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate hostname  in Cloudera Manager 5.7.2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Duplicate-hostname-in-Cloudera-Manager-5-7-2/m-p/55751#M62663</link>
      <description>&lt;P&gt;Hi Elias,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just reset the mysql password to get oozie work , thanks for the link.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;there is one more issue since then. &amp;nbsp;I cannot start the zookeeper servers. I got the following error when I tried to start 3 zookeepers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"Starting these new ZooKeeper Servers may cause the existing ZooKeeper Datastore to be lost. Try again after restarting any &lt;/SPAN&gt;&lt;SPAN&gt;existing ZooKeeper Servers with outdated configurations. If you do not want to preserve the existing Datastore, you can start &lt;/SPAN&gt;&lt;SPAN&gt;each ZooKeeper Server from its respective Status page. "&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;it is ok not to preserve the existing datastore. but I go to the host's status page, I didnt find the link or the location that can allow me to start the zookeeper server manually. do you have any suggestion?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 00:32:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Duplicate-hostname-in-Cloudera-Manager-5-7-2/m-p/55751#M62663</guid>
      <dc:creator>cloudtiger</dc:creator>
      <dc:date>2017-06-13T00:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate hostname  in Cloudera Manager 5.7.2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Duplicate-hostname-in-Cloudera-Manager-5-7-2/m-p/55752#M62664</link>
      <description>&lt;P&gt;go to machine's&amp;nbsp;&lt;SPAN&gt;Status page, Click Action, it has only two options clickable : "Initialize" and "enter maintenance mode", unable to click "start/stop" etc options. I clicked "initialize", still I am unable to start the zookeeper.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 02:06:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Duplicate-hostname-in-Cloudera-Manager-5-7-2/m-p/55752#M62664</guid>
      <dc:creator>cloudtiger</dc:creator>
      <dc:date>2017-06-13T02:06:32Z</dc:date>
    </item>
  </channel>
</rss>

