sqoop:Failed to download file from http://hdp01:8080/resources//oracle-jdbc-driver.jar due to HTTP error: HTTP Error 404: Not Found

时间:2022-10-28 14:56:07

环境:ambari2.3,centos7,sqoop1.4.6

问题描述:通过ambari安装了sqoop,又添加了oracle驱动配置,如下:

sqoop:Failed to download file from http://hdp01:8080/resources//oracle-jdbc-driver.jar due to HTTP error: HTTP Error 404: Not Found

保存配置后,重启sqoop报错:http://hdp01:8080/resources//oracle-jdbc-driver.jar due to HTTP error: HTTP Error 404: Not Found

解决办法:

上传oracle驱动ojdbc6.jar到hdp01的 /var/lib/ambari-server/resources,然后重命名为oracle-jdbc-driver.jar 。

重新启动sqoop,一切正常。