Reply
New Contributor
Posts: 4
Registered: ‎07-11-2018

Upgrade functionality for custom add on service in cloudera

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.

Posts: 696
Topics: 1
Kudos: 162
Solutions: 87
Registered: ‎04-22-2014

Re: Upgrade functionality for custom add on service in cloudera

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

 

 

Highlighted
New Contributor
Posts: 4
Registered: ‎07-11-2018

Re: Upgrade functionality for custom add on service in cloudera

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?

 

 

 

Posts: 696
Topics: 1
Kudos: 162
Solutions: 87
Registered: ‎04-22-2014

Re: Upgrade functionality for custom add on service in cloudera

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

New Contributor
Posts: 4
Registered: ‎07-11-2018

Re: Upgrade functionality for custom add on service in cloudera

Thanks @bgooley

Announcements