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
This article explains how to delete a Registered HDP cluster from DPS

Steps:

1. Download the attached file dp-cluster-remove.txt and store it in postgres db server.

2. psql -f ./dp_cluster_remove.txt -d dataplane -v cluster_name=c149

-d --> <dataplane database name>

cluster_name --> Your HDP clustername that should be removed from DPS cluster.

Example Output:-

[root@rraman bin]# docker exec -it dp-database /bin/bash

bash-4.3# su - postgres

de0ff40ad912:~$ ls -lrt

total 8

drwx------ 19 postgres postgres 4096 Sep 21 01:27 data

-rwxrwxrwx 1 postgres postgres 892 Sep 21 17:59 dp_cluster_remove.txt

de0ff40ad912:~$ psql -f ./dp_cluster_remove.txt -d dataplane -v cluster_name=c149

CREATE FUNCTION

remove_cluster_from_dps

-------------------------

(1 row)

DROP FUNCTION

1,659 Views
0 Kudos
Version history
Last update:
‎09-21-2018 06:11 PM
Updated by:
Contributors