ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yusaku Sako <>
Subject Re: Moving hadoop services
Date Fri, 24 Apr 2015 14:56:25 GMT

You can move your NameNode via the UI.
Go to Services > HDFS > Service Actions.  You should see an option to move NameNode

As for HBase Master, it works a little differently.
You can add an arbitrary number of HBase Masters.  You add HBase Master to another host, and
then you can remove it from the original host (go to the Host page where the HBase Master
is, and select "Delete" from the Actions) to effectively move.
If you are using Ambari 2.0, then there is a bug where the delete option for the HBase Master
does not show up.
To workaround this, you can remove it via the API:

curl -u admin:admin -H 'X-Requested-By: ambari' -X DELETE http://{AMBARI_SERVER_HOST}:8080/api/v1/clusters/{CLUSTERNAME}/hosts/{HOSTNAME}/host_components/HBASE_MASTER

I hope this helps.

From: Pratik Gadiya <<>>
Reply-To: "<>" <<>>
Date: Friday, April 24, 2015 5:40 AM
To: "<>" <<>>
Subject: Moving hadoop services

Hi All,

I have deployed a hadoop cluster and just wondering if I could move few of the services running
on one node to other node via REST API or Ambari UI.
For example services like HBaseMaster or Namenode etc..

I can observe that there is only option to move Secondary NameNode.

Please let me know if there is any way from which we can move services to the other hosts.

Pratik Gadiya

DISCLAIMER ========== This e-mail may contain privileged and confidential information which
is the property of Persistent Systems Ltd. It is intended only for the use of the individual
or entity to which it is addressed. If you are not the intended recipient, you are not authorized
to read, retain, copy, print, distribute or use this message. If you have received this communication
in error, please notify the sender and delete all copies of this message. Persistent Systems
Ltd. does not accept any liability for virus infected mails.

View raw message