Upgrade an Installation with Cloudera Manager
When you upgrade an installation with Cloudera Manager, the new version uses the same configuration, data, log, and resource directories. As a result, the new version has access to the files created in the previous version.
Step 2. Back Up the Previous Version
Step 3. Install the StreamSets Custom Service Descriptor
Step 4. Manually Install the Parcel and Checksum Files (Optional)
Step 5. Distribute and Activate the New StreamSets Parcel
Step 6. Verify Modified Safety Valves
Step 7. Restart the StreamSets Service
Step 1. Stop All Pipelines
In Data Collector, stop all running pipelines.
Step 2. Back Up the Previous Version
Before you install the new version, create a backup of the files in the previous version by copying and renaming the configuration, data, and resource directories. That way, you can continue to run the previous version if needed.
Copy and rename the following directories on every Cloudera Manager node that runs Data Collector:
- SDC_DATA - The Data Collector directory for pipeline state and configuration information.
- SDC_RESOURCES - The Data Collector directory for runtime resource files.
For example, if you are upgrading version 3.0.0.0, copy the Data Collector
configuration directory and rename it as follows: /etc/sdc3000
.
If you need to roll back to the previous version, you must restore the previous directories on every Cloudera Manager node that runs Data Collector.
Step 3. Install the StreamSets Custom Service Descriptor
Install the new StreamSets custom service descriptor file (CSD), and then restart Cloudera Manager.
Step 4. Manually Install the Parcel and Checksum Files (Optional)
You can manually install the StreamSets parcel and related checksum files. Manually install the files when the Cloudera Manager Server does not have internet access.
When working with multiple clusters, perform the following steps for each cluster.
Step 5. Distribute and Activate the New StreamSets Parcel
After you add the StreamSets repository to Cloudera Manager, you can download and distribute the new StreamSets parcel across the cluster. Stop the StreamSets service and deactivate the previous parcel before you activate the new parcel.
Step 6. Verify Modified Safety Valves
When you upgrade, Cloudera Manager updates the Data Collector configuration properties for you. However, if you modified any of the Advanced Configuration Snippet (Safety Valve) properties in Cloudera Manager for the previous Data Collector version, those values override any property settings in the new configuration files.
You must compare the new configuration files shipped with the parcel in
/opt/cloudera/parcels/STREAMSETS
with your modified safety valves
and update the safety valves as needed to include any new properties.
For example, if you used the Data Collector Advanced Configuration Snippet
(Safety Valve) for sdc.properties to override the
system.stagelibs.blacklist
property, you must add any new stage
libraries listed in the blacklist property in the new sdc.properties
file to the overridden property in the safety valve.
Step 7. Restart the StreamSets Service
When you restart the StreamSets service, Cloudera Manager updates the Data Collector configuration properties for you. Cloudera Manager retains any customized values that you added in the previous Data Collector version. It also adds any new properties included in the new Data Collector version.
To restart the StreamSets service, click
and then click .