<?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 CDH 5.1 host IP address change in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-1-host-IP-address-change/m-p/20034#M3243</link>
    <description>&lt;P&gt;I have a CDH 5.1 cluster with 3 nodes. We installed it using cloudera manager automated installation. It was running perfect until we moved the box to a different network and IP addresses changed. I tried following steps&lt;/P&gt;
&lt;PRE&gt;1. Stopped service, cloudera-scm-server.
2. Stopped service, cloudera-scm-agent
3. Edit the /etc/cloudera-scm-agent/config.ini
4. change the server host to the new ip.
5. restart service, cloudera-scm-agent, cloudera-scm-server.&lt;/PRE&gt;
&lt;P&gt;not working .&lt;/P&gt;
&lt;P&gt;Then i followed &lt;A href="http://www.cloudera.com/content/cloudera/en/documentation/cloudera-manager/v4-latest/Cloudera-Manager-Administration-Guide/cmag_change_hostnames.html" target="_blank" rel="nofollow"&gt;http://www.cloudera.com/content/cloudera/en/documentation/cloudera-manager/v4-latest/Cloudera-Manager-Administration-Guide/cmag_change_hostnames.html&lt;/A&gt; Not helped even after changing the ips in the PostgreSQL directly.&lt;/P&gt;
&lt;P&gt;I found following blog : &lt;A href="http://www.geovanie.me/changing-ip-of-node-in-cdh-cluster/" target="_blank" rel="nofollow"&gt;http://www.geovanie.me/changing-ip-of-node-in-cdh-cluster/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Getting following error in the scm-agent log file&lt;/P&gt;
&lt;PRE&gt;ProtocolError: &amp;lt;ProtocolError for 127.0.0.1/RPC2: 401 Unauthorized&amp;gt;&lt;/PRE&gt;
&lt;P&gt;No helped .... Can anyone please help how to change all IP addresses in a cdh 5.1 cluster safely .....&lt;/P&gt;
&lt;P&gt;Thanks, Amit&lt;/P&gt;</description>
    <pubDate>Tue, 31 Oct 2017 15:58:21 GMT</pubDate>
    <dc:creator>AmitD</dc:creator>
    <dc:date>2017-10-31T15:58:21Z</dc:date>
    <item>
      <title>CDH 5.1 host IP address change</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-1-host-IP-address-change/m-p/20034#M3243</link>
      <description>&lt;P&gt;I have a CDH 5.1 cluster with 3 nodes. We installed it using cloudera manager automated installation. It was running perfect until we moved the box to a different network and IP addresses changed. I tried following steps&lt;/P&gt;
&lt;PRE&gt;1. Stopped service, cloudera-scm-server.
2. Stopped service, cloudera-scm-agent
3. Edit the /etc/cloudera-scm-agent/config.ini
4. change the server host to the new ip.
5. restart service, cloudera-scm-agent, cloudera-scm-server.&lt;/PRE&gt;
&lt;P&gt;not working .&lt;/P&gt;
&lt;P&gt;Then i followed &lt;A href="http://www.cloudera.com/content/cloudera/en/documentation/cloudera-manager/v4-latest/Cloudera-Manager-Administration-Guide/cmag_change_hostnames.html" target="_blank" rel="nofollow"&gt;http://www.cloudera.com/content/cloudera/en/documentation/cloudera-manager/v4-latest/Cloudera-Manager-Administration-Guide/cmag_change_hostnames.html&lt;/A&gt; Not helped even after changing the ips in the PostgreSQL directly.&lt;/P&gt;
&lt;P&gt;I found following blog : &lt;A href="http://www.geovanie.me/changing-ip-of-node-in-cdh-cluster/" target="_blank" rel="nofollow"&gt;http://www.geovanie.me/changing-ip-of-node-in-cdh-cluster/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Getting following error in the scm-agent log file&lt;/P&gt;
&lt;PRE&gt;ProtocolError: &amp;lt;ProtocolError for 127.0.0.1/RPC2: 401 Unauthorized&amp;gt;&lt;/PRE&gt;
&lt;P&gt;No helped .... Can anyone please help how to change all IP addresses in a cdh 5.1 cluster safely .....&lt;/P&gt;
&lt;P&gt;Thanks, Amit&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 15:58:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-1-host-IP-address-change/m-p/20034#M3243</guid>
      <dc:creator>AmitD</dc:creator>
      <dc:date>2017-10-31T15:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: CDH 5.1 host IP address change</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-1-host-IP-address-change/m-p/20270#M3244</link>
      <description>&lt;P&gt;I found the solution for the above issue&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) for protocolError we need to use kill -9 to kill the superviser&lt;/P&gt;&lt;P&gt;2) the above mention steps are correct I was making some typo with the ip and hostnames in the config.ini in one of the hosts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that help....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Oct 2014 20:10:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-1-host-IP-address-change/m-p/20270#M3244</guid>
      <dc:creator>AmitD</dc:creator>
      <dc:date>2014-10-15T20:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: CDH 5.1 host IP address change</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-1-host-IP-address-change/m-p/36559#M3245</link>
      <description>&lt;DIV&gt;Hi&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I recently returned my Comcast router and put my own. The IP addresses changed and my cluster is down &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I am running 5.4.7CDH (starving developers version) on Ubuntu 12.04 LTS&lt;/DIV&gt;&lt;DIV&gt;1NN + 3DN&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I followed these instructions and managed to get the IPs of the nodes corrected ojn the cluster (by updating HOSTS table in local cloudera db)&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://shulhi.com/change-ip-address-for-existing-nodes-in-cdh-5-3/" target="_blank"&gt;http://shulhi.com/change-ip-address-for-existing-nodes-in-cdh-5-3/&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I made sure that the UUIDs of each node as displayed in Cloudera manager is same as&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;/var/lib/cloudera-scm-agent/uuid&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Now My cloudera agents don't start on the nodes&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;/var/log/cloudera-scm-agent/cloudera-scm-agent.out&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;[24/Jan/2016 13:37:38 +0000] 14519 MainThread agent &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;INFO &amp;nbsp; &amp;nbsp; SCM Agent Version: 5.4.7&lt;/DIV&gt;&lt;DIV&gt;[24/Jan/2016 13:37:38 +0000] 14519 MainThread agent &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;INFO &amp;nbsp; &amp;nbsp; Logging to /var/log/cloudera-scm-agent/cloudera-scm-agent.log&lt;/DIV&gt;&lt;DIV&gt;Traceback (most recent call last):&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; File "/usr/lib/cmf/agent/src/cmf/agent.py", line 3233, in &amp;lt;module&amp;gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; main()&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; File "/usr/lib/cmf/agent/src/cmf/agent.py", line 3216, in main&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; agent.configure()&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; File "/usr/lib/cmf/agent/src/cmf/agent.py", line 428, in configure&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; raise Exception("No server_host line was found in agent's configuration. One of --standalone or --master must be specified.")&lt;/DIV&gt;&lt;DIV&gt;Exception: No server_host line was found in agent's configuration. One of --standalone or --master must be specified.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 24 Jan 2016 22:05:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-1-host-IP-address-change/m-p/36559#M3245</guid>
      <dc:creator>sanjaysubramani</dc:creator>
      <dc:date>2016-01-24T22:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: CDH 5.1 host IP address change</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-1-host-IP-address-change/m-p/61155#M3246</link>
      <description>&lt;P&gt;Thank you for this excellent solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my situation, I created 1 master and 4 slaves cloudera cluster using private IP with EC2 and then store then as AMI (images). I then created newinstances from these 5 AMI images, with all installations of cloudera on them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I folllowed all your steps to change the IP to current private IPs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I finally check the state of the cloudera:&lt;/P&gt;&lt;P&gt;sudo service cloudera-scm-agent status sudo service cloudera-scm-master status both return active (exited) Then I checked the /var/log/cloudera-scm-agent/cloudera-scm-agent.log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And there are errors like this ERROR Failed to connect to previous supervisor.&lt;/P&gt;&lt;P&gt;ERROR Failed rack peer update: [Errno 111] Connection refused&lt;/P&gt;&lt;P&gt;ERROR 14794 Monitor-HostMonitor throttling_logger&lt;/P&gt;&lt;P&gt;ERROR Failed to collect NTP metrics&lt;/P&gt;&lt;P&gt;ERROR Unexpected exception during download&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you know why this happens? ( I followed all yoursteps)&lt;/P&gt;</description>
      <pubDate>Sun, 22 Oct 2017 02:40:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-1-host-IP-address-change/m-p/61155#M3246</guid>
      <dc:creator>jjjjjjhao</dc:creator>
      <dc:date>2017-10-22T02:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: CDH 5.1 host IP address change</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-1-host-IP-address-change/m-p/61156#M3247</link>
      <description>&lt;P&gt;Maybe I need to reinstall the cloudera manager?&lt;/P&gt;</description>
      <pubDate>Sun, 22 Oct 2017 02:41:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-1-host-IP-address-change/m-p/61156#M3247</guid>
      <dc:creator>jjjjjjhao</dc:creator>
      <dc:date>2017-10-22T02:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: CDH 5.1 host IP address change</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-1-host-IP-address-change/m-p/61212#M3248</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steps to find and kill the process:&lt;BR /&gt;&lt;BR /&gt;1) Find the port which is used by supervisor:&amp;nbsp;&lt;BR /&gt;&amp;gt;&amp;nbsp;ps aux |grep supervisor&lt;/P&gt;&lt;P&gt;2) kill the port&lt;/P&gt;&lt;P&gt;&amp;gt;sudo kill -9 &amp;lt;port number&amp;gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 15:52:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-1-host-IP-address-change/m-p/61212#M3248</guid>
      <dc:creator>lionelsubedi</dc:creator>
      <dc:date>2017-10-24T15:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: CDH 5.1 host IP address change</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-1-host-IP-address-change/m-p/61213#M3249</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/24372"&gt;@jjjjjjhao&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The bits of errors provided don't tell enough of the story to indicate what may be wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would run:&amp;nbsp;&lt;EM&gt;service cloudera-scm-agent restart&amp;nbsp;&lt;/EM&gt; and then see what happens in the agent log.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, what is the actual problem?&amp;nbsp; What is wrong in Cloudera Manager, etc.&amp;nbsp; It is unclear what you are trying to do or see and what actually happens.&amp;nbsp; Once that is clarified, the community can help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 17:02:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/CDH-5-1-host-IP-address-change/m-p/61213#M3249</guid>
      <dc:creator>bgooley</dc:creator>
      <dc:date>2017-10-24T17:02:49Z</dc:date>
    </item>
  </channel>
</rss>

