Issue:
When upgrading an SDC RPM installation and trying to run it after the update the following error appears on the sdc.log:
[user:] [pipeline:] [runner:] [thread:main] ERROR Main - Abnormal exit: java.lang.RuntimeException: There cannot be 2 different versions of the same stage: [Stage='com_streamsets_datacollector_pipeline_executor_s$
java.lang.RuntimeException: There cannot be 2 different versions of the same stage: [Stage='com_streamsets_datacollector_pipeline_executor_spark_SparkDExecutor' Version='2' Library='streamsets-datacollector-cdh_5_13-lib', Stage='com_str$"
Solution:
Try to list the RPMs installed with the following command:
rpm -qa | grep streamsets | grep <old-version>
This command will list the old packages that need to be deleted.