ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henning Kropp <>
Subject Re: How to remove a client from a host
Date Thu, 07 Apr 2016 19:53:40 GMT

HIVE is a service, which contains of components. In your case you want 
to remove the host component HIVE_CLIENT from a host. Here is how you 
can do it:

# Stop the component by putting it in state "INSTALLED" (yes you also 
need to stop a client)
curl -u admin:admin -H "X-Requested-by:ambari" -i -k -X PUT -d 
'{"ServiceComponentInfo": {"state": "INSTALLED"}}' 

# Remove the component
curl -u admin:admin -H "X-Requested-by:ambari" -i -k -X DELETE 

Let me know if this worked for you.


Am 07/04/16 um 20:58 schrieb Banias H:
> I have a 6-node clusters running Ambari While installing Hive 
> through Ambari, I installed Hive clients all 6 nodes but now I would 
> like to have Hive client on only 1 node.
> How do I remove Hive client on the 5 nodes?
> I looked around and only found the REST calls to remove Hive 
> altogether. I also don't find any option through Ambari UI. I am 
> hoping I don't have to remove Hive and install it again as I got 
> tables and database setup.
> Thanks, B

View raw message