Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

reinstall hive client in ambari

avatar
New Member

I tried install to add Hive Client and Tze client into an host but failed. When i tried to re-install it, only found the two components have removed from available component list, and it seems there is no option to delete the existing one (unsuccessfully) either.

Any suggestions on how to proceed from here to re-install these ?

Thanks


ambari.png
1 ACCEPTED SOLUTION

avatar
Master Mentor

@Allen Niu

Have you tried the Ambari API option to delete those client from the selected hosts?

curl -iv -u admin:admin -H "X-Requested-By: ambari"  -X DELETE  http://<AMBARI_HOST>:8080/api/v1/clusters/<CLUSTER_NAME>/hosts/<HOST.NAME>/host_components/HIVE_CLIE...

.

View solution in original post

3 REPLIES 3

avatar
Master Mentor

@Allen Niu

Have you tried the Ambari API option to delete those client from the selected hosts?

curl -iv -u admin:admin -H "X-Requested-By: ambari"  -X DELETE  http://<AMBARI_HOST>:8080/api/v1/clusters/<CLUSTER_NAME>/hosts/<HOST.NAME>/host_components/HIVE_CLIE...

.

avatar
Master Mentor

@Allen Niu

Similarly you can try the same form TEZ_CLIENT as well.

curl -iv -u admin:admin -H "X-Requested-By: ambari"  -X DELETE  http://<AMBARI_HOST>:8080/api/v1/clusters/<CLUSTER_NAME>/hosts/<HOST.NAME>/host_components/TEZ_CLIEN...

.

Once those are gone from the UI then you can freshly try to reinstall those clients from ambari ui.

avatar
New Member

Thanks for the hint