Skip to main content
damnworld
Silver ⭐️
November 9, 2023
Solved

How to remove a service type in CDP?

Dear All,
Yesterday I uploaded a parcel to CM and found some bugs within it. Therefore, I deleted the parcel and completely removed the files in the parcels and .flood directories.
Now, when I click the 'Add Service' button, there is still a service type that I defined within the parcel I deleted. How can I remove this service type,  and where does CM record this information?

vaishaakb
vaishaakbAnswer
Gold ⭐️⭐️⭐️
November 9, 2023

@damnworld Thank you for sharing the screenshot.

A service named 'kyuubi' which is a SQL gateway. Now I can still find it in the 'Add Service' page even I have deleted the parcel and the csd file.


May I know how and where did you delete the parcel and the csd files from?
Did you also try CM UI > Service > Delete?

The attached screenshot show /../../parcels and not /.../../parcel-repo.
You can review the associated parcels and CSD files from the following default location on CM Server, under: 

1. CM UI > Parcels > Parcel Repositories & Network Settings > Remote Parcel Repository URLs section, click the "-" icon to remove the URL for your Parcel repository > Save Changes.
2. /opt/cloudera/csd/
3. /opt/cloudera/parcel-repo/

Post the above checks, we recommend restarting CM Server.
[john.doe@cmserver ~] $ systemctl restart cloudera-scm-server

Let us know how it goes.

V

6 replies

VidyaSargur
Community Manager
Community Manager
November 9, 2023

@damnworld, Welcome to our community! To help you get the best possible answer, I have tagged our CDP experts @vaishaakb @tjangid who may be able to assist you further.

Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.

Translate
Regards, Vidya Sargur, Community Manager Was your question answered? Make sure to mark the answer as the accepted solution. If you find a reply useful, say thanks by clicking on the thumbs up button.
tj2007
Gold ⭐️⭐️
Gold ⭐️⭐️
November 9, 2023

Hi @damnworld,

can you please let us know which parcel you added? and what service type do you see? Can you share the snapshot?

Translate
damnworld
damnworldAuthor
Silver ⭐️
November 9, 2023

A service named 'kyuubi' which is a SQL gateway. Now I can still find it in the 'Add Service' page even I have deleted the parcel and the csd file. 

damnworld_0-1699526448590.png

damnworld_1-1699526488634.png

damnworld_2-1699526546056.pngdamnworld_3-1699526683868.png

Translate
tj2007
Gold ⭐️⭐️
Gold ⭐️⭐️
November 9, 2023

@damnworld can you share the listing of "/opt/cloudera/"?

Do you have any folder as "/opt/cloudera/csd" and within that do you have the kyuubi folder available? If yes, kindly remove that.

Translate
vaishaakb
Gold ⭐️⭐️⭐️
vaishaakbAnswer
Gold ⭐️⭐️⭐️
November 9, 2023

@damnworld Thank you for sharing the screenshot.

A service named 'kyuubi' which is a SQL gateway. Now I can still find it in the 'Add Service' page even I have deleted the parcel and the csd file.


May I know how and where did you delete the parcel and the csd files from?
Did you also try CM UI > Service > Delete?

The attached screenshot show /../../parcels and not /.../../parcel-repo.
You can review the associated parcels and CSD files from the following default location on CM Server, under: 

1. CM UI > Parcels > Parcel Repositories & Network Settings > Remote Parcel Repository URLs section, click the "-" icon to remove the URL for your Parcel repository > Save Changes.
2. /opt/cloudera/csd/
3. /opt/cloudera/parcel-repo/

Post the above checks, we recommend restarting CM Server.
[john.doe@cmserver ~] $ systemctl restart cloudera-scm-server

Let us know how it goes.

V

Translate
VidyaSargur
Community Manager
Community Manager
November 20, 2023

@damnworld, Have the replies helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. 

Translate
Regards, Vidya Sargur, Community Manager Was your question answered? Make sure to mark the answer as the accepted solution. If you find a reply useful, say thanks by clicking on the thumbs up button.