ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yusaku Sako <>
Subject Re: Move History Server
Date Fri, 15 May 2015 00:22:42 GMT

Unfortunately, History Server cannot be moved from the UI at the moment.
However you can do the following:

1. Take a backup of your Ambari database
2. Stop History Server from the UI and wait until it is stopped.
3. Delete History Server from the source host via the API:
curl -i -u admin:admin -H 'X-Requested-By: ambari' -X DELETE
4. Add History Server to the target host via the API:
curl -i -u admin:admin -H 'X-Requested-By: ambari' -X POST -d
'{"host_components" : [{"HostRoles":{"component_name":"HISTORYSERVER"}}]

5. Go to the UI to install and start History Server.

I hope this helps.

On 5/13/15 8:29 AM, "João Alves" <> wrote:

>Hey all,
>I have a cluster with HDP 2.1.7 stack which I recently upgraded from
>Ambari 1.6.1 to 2.0.0. I have a computer in my cluster that I need to
>I have been moving away all the master components from this machine. The
>last remaining is the History Server however it seems that there is no
>option to move it.
>I searched around and did not found any resources on how to do this.
>Could someone give me any pointers on how to move this component to
>another machine?
>Thanks for your help,
>João Alves

View raw message