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

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

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

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

技术分享

保存配置后,重启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,一切正常。

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