As of Ambari 2.0: HDFS: NameNode, Secondary NameNode, DataNodes can be moved. JournalNode cannot be moved yet in case NameNode HA is enabled. YARN: ResourceManager, App Timeline Server, NodeManagers can be moved. HBase: HBase Master can be moved (but delete must be done explicitly via API as described). RegionServers can be moved.
Yusaku From: Pratik Gadiya <[email protected]<mailto:[email protected]>> Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Friday, April 24, 2015 11:27 AM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: RE: Moving hadoop services Thanks Yusaku for the detailed information. So, this means that all the hadoop services can be moved to other hosts if I try to add new hosts to the existing cluster ? Please let me know if any additional information is reqired. Thanks and Regards, Pratik Gadiya ________________________________ From: Yusaku Sako [[email protected]<mailto:[email protected]>] Sent: Friday, April 24, 2015 8:26 PM To: [email protected]<mailto:[email protected]> Subject: Re: Moving hadoop services Pratik, You can move your NameNode via the UI. Go to Services > HDFS > Service Actions. You should see an option to move NameNode there. 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. Yusaku From: Pratik Gadiya <[email protected]<mailto:[email protected]>> Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Friday, April 24, 2015 5:40 AM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> 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. Thanks, 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. 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.
