Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

reinstall hive client in ambari

avatar
Contributor

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
Contributor

Thanks for the hint