Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

How to remove a service type in CDP?

avatar
New Contributor

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?

1 ACCEPTED SOLUTION

avatar
Master Collaborator

@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

View solution in original post

6 REPLIES 6

avatar
Community Manager

@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.



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.
Learn more about the Cloudera Community:

avatar
Expert Contributor

Hi @damnworld,

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

avatar
New Contributor

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

avatar
Expert Contributor

@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.

avatar
Master Collaborator

@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

avatar
Community Manager

@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. 



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.
Learn more about the Cloudera Community: