Uninstalling Lumada Data Catalog
To uninstall Lumada Data Catalog, you must uninstall each component separately in the reverse order of installation. Note that these components may be installed on different nodes. First uninstall the Agent, then the Metadata Server, and finally the Application Server.
Uninstalling an Agent
Procedure
Open a command line prompt on the node where the Agent is installed and log on with the service user account.
Stop the Agent services using the following command:
/opt/ldc/agent/bin/agent stop
Remove the Agent files and log directories using the following commands:
sudo rm -rf /opt/ldc/agent sudo rm -rf /var/log/ldc/ldc-agent.* sudo rm -rf /var/log/ldc/spark-jobs/
If no additional Lumada Data Catalog components are installed on the node, you can remove all the installation directories using the following commands:
sudo rm -rf /opt/ldc sudo rm -rf /var/log/ldc
Delete the Agent's entry from the Lumada Data Catalog Application Server's user interface.
Navigate to Manage and clickAgents.
Select the check box of the agent you want to delete from the selection drop-down menu, and select Delete Agent.
Results
Uninstalling the Metadata Server
Procedure
Open a command line prompt on the node where the Metadata Server is installed and log on with the service user account.
Stop the Metadata Server services using the following command:
/opt/ldc/metadata-server/bin/metadata-server stop
Remove the files in the Metadata Server and log directories using the following commands:
sudo rm -rf /opt/ldc/metadata-server sudo rm -rf /var/log/ldc/ldc-metadata-server.*
If no additional Lumada Data Catalog components are installed on the node, you can remove all the installation directories using the following commands:
sudo rm -rf /opt/ldc sudo rm -rf /var/log/ldc
Uninstalling the Application Server
Procedure
Open a command line prompt on the node where the Application Server is installed and log on with the service user account.
Stop the Application Server services using the following command:
/opt/ldc/app-server/bin/app-server stop
If you do not wish to install Lumada Data Catalog again in the same environment, delete the fingerprint storage directories using the following command:
hdfs dfs -rm -rf /user/ldcuser
Remove the files in the Application Server and log directories using the following commands:
sudo rm -rf /opt/ldc/app-server sudo rm -rf /var/log/ldc/ldc-ui.* sudo rm -rf /var/log/ldc/setup.log
If no additional Lumada Data Catalog components are installed on the node, remove all the installation directories using the following commands:
sudo rm -rf /opt/ldc sudo rm -rf /var/log/ldc