执行Postgresql-to-Hive迁移作业报错“Error occurs during loader run”
问题描述
用户使用CDM服务,从源端pg迁移数据到目的端hive界面报错提示“Error occurs during loader run”。
故障分析
- 排查客户CDM昨天日志报错发现报错: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
解决方案
修改连接配置,打开Hive连接中的OBS开关,重新输入密码。