Oozie + Sqoop: JDBC Driver Jar Location

前端 未结 4 1375
我寻月下人不归
我寻月下人不归 2020-12-17 01:32

I have a 6 node cloudera based hadoop cluster and I\'m trying to connect to an oracle database from a sqoop action in oozie.

I have copied my ojdbc6.jar into the sqo

4条回答
  •  执笔经年
    2020-12-17 02:05

    I was facing the same issue it was not able to find the mysql jar. I am using cloudera 4.4 in this even oozie admin -oozie http://localhost:11000/oozie -sharelibupdate command will not work

    To resolve the issue I had followed the below steps:

    1. create a user in Hue with hdfs and provide the admin privileges

    2. using Hue UI upload the jar into /user/oozie/share/lib/sqoop hdfs path or you can use below command:

    hadoop put /var/lib/sqoop2/mysql-connector-java.jar /user/oozie/share/lib/sqoop

    1. Once the jar is placed run the oozie command.

提交回复
热议问题