Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Upgrade functionality for custom add on service in cloudera

Highlighted

Upgrade functionality for custom add on service in cloudera

New Contributor

Hi ,

 

We have created a custom add on service by generating .sdl and parcels.

Now we have to provide updgrade support to our custom service.

 

Is there any tag in sdl file that such that we can upgrade our custom service?

 

If not is there any workaround for this.

 

Appreciate your help.

4 REPLIES 4

Re: Upgrade functionality for custom add on service in cloudera

Super Guru

@AshishChauhan,

 

Please clarify what you mean by "upgrade" here and what you would want it to do.  If you are using Parcels, I would expect the user would get the new parcel and activate it.

 

If you are looking to do some other activity involving non-parcel files, I think you can add that in as an action for the service that would trigger whatever you would want to do... I don't know if you can do that sort of thing automatically, though.

 

 

Re: Upgrade functionality for custom add on service in cloudera

New Contributor

Thanks @bgooley

For the response.

 

Since we have created custom service by parcel and sdl.

There can be two upgrade

1. Parcel upgrade - which can be merged by redeploying an activating parcel.

2. .sdl upgrade.

    e.g :

    a. change in version number of sdl file

    b. Adding/Removing/Renaming any configuration parameters in parcel.

 

If our custom service is already installed from cloudera and changes mentioned above are made in .sdl file

then

Is there any upgrade action such that we can accomodate above changes in custom service 

without removing and reinstalling the service?

 

 

 

Re: Upgrade functionality for custom add on service in cloudera

Super Guru

@AshishChauhan,

 

I believe the upgrade steps you are asking for are what we document for Spark 2 here:

 

https://www.cloudera.com/documentation/spark2/latest/topics/spark2_installing.html#spark_upgrade

 

(1)

Delete old CSD

(2)

Lay down the new CSD

(3)

Restart CM

(4)

Deactivate the old parcel

(5)

Activate the new parcel

 

The above does not require removing the service from Cloudera Manager.  Existing Service Configuration will be retained in CM's database.

Re: Upgrade functionality for custom add on service in cloudera

New Contributor

Thanks @bgooley