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.

I was installing sqoop on a node but it failed due to repository error. It's actually not installed but displays on Ambari UI as in pic. No option to install again through +Add Service. How to remove it from Amabri to install again?

avatar
Contributor

14652-sqoop1.png

14651-sqoop2.png

1 ACCEPTED SOLUTION

avatar
Master Mentor

@Mohit Varshney

Did you try using the Ambari UI "Sqoop" --> "Service Actions" --> "Delete Service" option to delete Sqoop client ?

Else you can try the Ambari API approach as well to delete the sqoop as following:

curl -iv -u admin:admin -H "X-Requested-By: ambari"  -X DELETE http://${AMBARI_HOSTNMAE}:8080/api/v1/clusters/Sandbox/services/SQOOP

.

View solution in original post

4 REPLIES 4

avatar
Master Mentor

@Mohit Varshney

Did you try using the Ambari UI "Sqoop" --> "Service Actions" --> "Delete Service" option to delete Sqoop client ?

Else you can try the Ambari API approach as well to delete the sqoop as following:

curl -iv -u admin:admin -H "X-Requested-By: ambari"  -X DELETE http://${AMBARI_HOSTNMAE}:8080/api/v1/clusters/Sandbox/services/SQOOP

.

avatar
Contributor

Hello Jay. where is these tabs you mentioned: Sqoop" --> "Service Actions" --> "Delete Service.

avatar
Contributor

Ambari API worked for me. Thanks for the help.

avatar
Master Mentor

@Mohit Varshney

Once the "sqoop" service is deleted then you should be able to install it again using "Add Service".