Remove Unsupported Components
Remove unsupported services before proceeding with the ODP upgrade.
- On the Ambari Server host, navigate to the ce-utils repository and run the unsupported service removal script:
bash ./odp-upgrade-to-3_4_3_0/upgrade_files_343/ambari_delete_unsupported_services.sh
- Review the list of unsupported services displayed by the script.
Example output:
+------------------------------------------------------------+
| Ambari unsupported service removal |
| Targets: KAFKA, DRUID, OOZIE, SPARK2, SQOOP, ZEPPELIN. |
+------------------------------------------------------------+
AMBARISERVER : upgnode01
AMBARI_USER : admin
AMBARI_PASSWORD : ********
PORT : 8080
PROTOCOL : http
BACKUP_DIR : /root/basa/ce-utils/upgrade_backup
PYTHON_BIN : /bin/python3
[INFO] Cluster identified : upgcls
Unsupported services in 'upgcls':
# SERVICE STATE ACTION
--- ------------ ---------- ----------------
1 KAFKA STARTED STOP then DELETE
2 DRUID - not installed
3 OOZIE STARTED STOP then DELETE
4 SPARK2 - not installed
5 SQOOP - not installed
- 6 ZEPPELIN - not installed
- Review the services selected for removal. The script stops the installed unsupported services, backs up their configurations, and deletes them from the cluster.
Example output:
The following service(s) will be STOPPED,
their configs BACKED UP to
/root/basa/ce-utils/upgrade_backup,
then DELETED from cluster 'upgcls':
- KAFKA [STARTED]
- OOZIE [STARTED]
KAFKA3, and every service not in the list above,
is left in place.
- Type DELETE to stop and delete these services:
- Type DELETE to confirm the removal:
Type DELETE to stop and delete these services: DELETE
- If prompted, record the required passwords securely before continuing. Type yes after recording the passwords:
Have you recorded these passwords?
Type 'yes' to continue with OOZIE: yes
- Verify that the operation completed successfully.
Example output:
[INFO] Operation completed.
Config backups are under
/root/basa/ce-utils/upgrade_backup
(one <type>/<type>.json per config type).
Packages on the hosts were not removed.
Info: The script removes unsupported services from the Ambari cluster but does not uninstall their packages from the hosts.

Have a suggestion?