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.
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.
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.
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
Is there any upgrade action such that we can accomodate above changes in custom service
without removing and reinstalling the service?
I believe the upgrade steps you are asking for are what we document for Spark 2 here:
Delete old CSD
Lay down the new CSD
Deactivate the old parcel
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.