Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Community Articles

Find and share helpful community-sourced technical articles.
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!
avatar
Expert Contributor

In DPS-1.1.0 We can't remove cluster from DPS UI. We can use the curl to remove the cluster.

Note : User with Dataplane Admin Role can perform the below.

screen-shot-2018-06-14-at-102253-am.png

To delete smayani-hdp cluster

Step1:- Find the cluster ID, which you want to remove. You can use the developers tools from the browser to find the cluster ID.

screen-shot-2018-06-14-at-101629-am.png

From above example smayani-hdp cluster ID is: 3 ( https://172.26.125.109/api/lakes/3/servicesDetails )

Step 2 :- From the console use the below curl to remove the cluster.

curl -k -u <username>:<Password> -X DELETE https://<DPS_HOST>/api/lakes/<cluster_ID>;

Example :

curl -k -u admin:kjncsadasdcsdc -X DELETE https://172.26.125.109/api/lakes/3

Once the above is executed you should no longer see the cluster in UI.

screen-shot-2018-06-14-at-102509-am.png

Alternative

You can also use rm_dp_cluster.sh in /usr/dp/current/core/bin on DPS installed server.

Usage: ./rm_dp_cluster.sh DP_JWT HADOOP_JWT DP_HOST_NAME CLUSTER_NAME DATA_CENTER_NAME

DP_JWT: Value of dp_jwt cookie from a valid user's browser session

HADOOP_JWT: Value of hadoop-jwt cookie from a valid user's browser session

DP_HOST_NAME: Hostname or IP address of the DataPlane server

CLUSTER_NAME: Name of the cluster to delete

DATA_CENTER_NAME: Name of the datacenter cluster belongs to

You can use developers tool to use find the cookies ( DP_JWT, HADOOP_JWT)

1,727 Views
Version history
Last update:
‎06-14-2018 05:35 PM
Updated by:
Contributors