What Should I Do If "Error occurs during loader run" Is Reported During Migration from PostgreSQL to Hive?
Symptom
During data migration from PostgreSQL to Hive, "Error occurs during loader run" is reported.
Fault Analysis
- Check the errors in the CDM log of the previous day: 2021-09-29 10:35:32,638 ERROR LocalJobRunner Map Task #13 #loader [org.apache.sqoop.connector.hive.hiveWriter.HiveOrcWriter:83] Create file system error.
java.nio.file.AccessDeniedException: obs-itotshujuruhu-bingxing-fangcongyang: doesBucketExist on obs-itotshujuruhu-bingxing-fangcongyang: com.obs.services.exception.ObsException: Error message:Request Error.OBS servcie Error Message. -- ResponseCode: 403
- According to the errors "hiveWriter.HiveOrcWriter:83] Create file system error" and "Error.OBS servcie Error Message. -- ResponseCode: 403", an error occurs during synchronization of tables from Hive to the OBS directory. OBS Support may be set to No during the connector creation.
- Check the connector configuration. It is found that OBS Support is set to No. This parameter specifies whether OBS storage is supported. If Hive table data is stored in OBS, the value must be set to Yes.
Solution
Set OBS Support to Yes and enter the password.
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