Support Questions

Find answers, ask questions, and share your expertise
Announcements
Welcome to the upgraded Community! Read this blog to see What’s New!

reinstall hive client in ambari

avatar
Explorer

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
Super 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
Super 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
Super 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
Explorer

Thanks for the hint

Labels