Preparing a Driver for MySQL Database Link
Scenario
As a component for batch data export, Loader can import and export data using a relational database.
Prerequisites
You have prepared service data.
Procedure
Modify the permission on the JAR package of the relational database driver.
- Log in to the active and standby management nodes of the Loader service, obtain the driver JAR file of the relational database, and save the file to ${BIGDATA_HOME}/FusionInsight_Porter_8.1.0.1/install/FusionInsight-Sqoop-1.99.3/FusionInsight-Sqoop-1.99.3/server/webapps/loader/WEB-INF/ext-lib on both nodes.
The version number 8.1.0.1 is used as an example. Replace it with the actual version number.
- Run the following commands as user root on the active and standby nodes of the Loader service to change the permission:
cd ${BIGDATA_HOME}/FusionInsight_Porter_8.1.0.1/install/FusionInsight-Sqoop-1.99.3/FusionInsight-Sqoop-1.99.3/server/webapps/loader/WEB-INF/ext-lib
chown omm:wheel JAR package name
chmod 600 JARpackage name
- Log in to FusionInsight Manager. Choose Cluster and click the target cluster name. In the navigation pane on the left, choose Services > Loader. In the upper right corner, choose More, select Restart Service, and enter the password of the administrator to restart the Loader service.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot