Delete the cluster added in the Dataplane using utility script provided in the product.
OVERVIEW:
DPS-1.1 doesn't support the deletion of added clusters from the UI. If the users want to delete the clusters added in the Dataplane , an utility script is provided which can be used for deleting the HDP Clusters added.
PREREQUISITES:
Install jq : jq is a lightweight and flexible command-line JSON processor.
STEPS:
By default, "rm_dp_cluster.sh" script will be located at /usr/dp/current/core/bin.
Execute the rm_dp_cluster.sh script by providing the following parameters
DP_JWT : Value of dp_jwt cookie from a valid users browser sessionn
HADOOP_JWT : Value of hadoop-jwt cookie from a valid users browser session
DP_HOST_NAME : Hostname or IP address of the DataPlane server
CLUSTER_NAME: Ambari Cluster Name of the cluster to delete
DATA_CENTER_NAME : Name of the cluster datacenter to delete
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 29166 0 29166 0 0 93490 0 --:--:-- --:--:-- --:--:-- 93781
Found cluster with name onpremdlm in DataCenter SFO_DC having id 2
Do you want to delete this cluster? (yes / no)? yes
Deleting cluster...
true