FAQ
Hi,

I also faced this similar problem with CDH-4. I could not figure out a way
to do this from the cloudera manager. I did the following steps to resolve
the issue.

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.
6. The web ui will now correctly reflect the new ip and the other services
can be restarted.

Raj
On Friday, 27 April 2012 23:37:25 UTC+5:30, Chaitanya wrote:

Hi,

We currently have a working cluster with around 10 nodes. And, now we
have a situation where we need to us new IP's for these hosts instead
of the old IP's. I have gone through the discussions in this forum and
tried to implement the option of updating hosts table in PostgreSQL.

Here are the steps that I have followed:
1. Updated the ip_address field in the hosts table for 1 node.
2. Updated the /etc/hosts file with the new IP address in two machines
(cloudera manager server and the data node which I have changed the IP
address for)

The Cloudera Manager temporarily shows up with the updated IP address
on the Hosts Page but it overrides my update with the original IP
address after few seconds. I have noticed that optimistic_lock_version
field of hosts table gets increased by 1 every single time this
override happens.

Please let me know how to fix this? Did I miss any additional updates?

Thanks,
Chaitanya

P.S I have found that import/export option of Cloudera Manager will
work, but if buggy might drop some configurations. So, I was willing
to take the other route of updating hosts for just one node and make
it work.

Search Discussions

  • Sassoon Kosian at Jul 22, 2013 at 11:06 pm
    I tried all of the above but it still does not work.

    hadoop fs -ls produces this error:

    ls: Call From ip-10-80-215-107.ec2.internal/10.80.215.107 to
    ip-10-80-215-107.ec2.internal:8020 failed on connection exception:
    java.net.ConnectException: Connection refused; For more details see:
      http://wiki.apache.org/hadoop/ConnectionRefused

    I can't start the name server, I am trying to start it from Cloudera
    Manager and it gives an error "Supervisor returned FATAL. Please check the
    role log file, stderr, or stdout.". Looking at those logs I couldn't fine
    any clues.

    What would be the command if I wanted to run the Name Node from the shell?


    Thanks.
    Sassoon
    On Wednesday, May 8, 2013 4:13:44 AM UTC-4, Rajarshi Bhose wrote:

    Hi,

    I also faced this similar problem with CDH-4. I could not figure out a way
    to do this from the cloudera manager. I did the following steps to resolve
    the issue.

    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.
    6. The web ui will now correctly reflect the new ip and the other services
    can be restarted.

    Raj
    On Friday, 27 April 2012 23:37:25 UTC+5:30, Chaitanya wrote:

    Hi,

    We currently have a working cluster with around 10 nodes. And, now we
    have a situation where we need to us new IP's for these hosts instead
    of the old IP's. I have gone through the discussions in this forum and
    tried to implement the option of updating hosts table in PostgreSQL.

    Here are the steps that I have followed:
    1. Updated the ip_address field in the hosts table for 1 node.
    2. Updated the /etc/hosts file with the new IP address in two machines
    (cloudera manager server and the data node which I have changed the IP
    address for)

    The Cloudera Manager temporarily shows up with the updated IP address
    on the Hosts Page but it overrides my update with the original IP
    address after few seconds. I have noticed that optimistic_lock_version
    field of hosts table gets increased by 1 every single time this
    override happens.

    Please let me know how to fix this? Did I miss any additional updates?

    Thanks,
    Chaitanya

    P.S I have found that import/export option of Cloudera Manager will
    work, but if buggy might drop some configurations. So, I was willing
    to take the other route of updating hosts for just one node and make
    it work.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupscm-users @
categorieshadoop
postedMay 8, '13 at 8:13a
activeJul 22, '13 at 11:06p
posts2
users2
websitecloudera.com
irc#hadoop

2 users in discussion

Rajarshi Bhose: 1 post Sassoon Kosian: 1 post

People

Translate

site design / logo © 2022 Grokbase