Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Sqoop2 + HUE + Oracle DB configuration

avatar
Rising Star

Hi dear experts!

i'm strugling with configuring sqoop2+hue(3.7)+Oracle DB.

i'm trying to create connection in HUE, but getting error:

2015-11-06 11-04-08 Скриншот экрана.png

 

 

i have ojdbc6.jar in /var/lib/sqoop2/ dirrectory (as hinted some forums):

[root@sqoop2server ~]# ll /var/lib/sqoop2/
total 7684
-rw-r--r-- 1 sqoop2 sqoop 2677451 Nov 6 12:46 derby-10.8.2.2.jar
-rw-r--r-- 1 sqoop2 sqoop2 960396 Nov 6 13:39 mysql-connector-java.jar
-rw-r--r-- 1 root root 3670975 Nov 6 13:52 ojdbc6.jar
-rw-r--r-- 1 sqoop2 sqoop2 539705 Nov 6 13:39 postgresql-9.0-801.jdbc4.jar
drwxr-xr-x 3 sqoop2 sqoop2 4096 Nov 5 21:17 repository
drwxr-xr-x 3 sqoop2 sqoop2 4096 Nov 2 19:06 repositoy
drwxr-xr-x 5 sqoop2 sqoop 4096 Nov 6 13:39 tomcat-deployment

 

+ another one question is the any way to config Oraoop sqoop with Hue?

 

thanks!

1 ACCEPTED SOLUTION

avatar
Rising Star
When Sqoop2 starts, it copies /usr/share/java/oracle-connector-java.jar to /var/lib/sqoop2/. Please rename ojdbc6.jar to oracle-connector-java.jar, change the owner and group to sqoop2 and restart Sqoop2. Also, please use oracle.jdbc.OracleDriver as the JDBC Driver Class.

View solution in original post

1 REPLY 1

avatar
Rising Star
When Sqoop2 starts, it copies /usr/share/java/oracle-connector-java.jar to /var/lib/sqoop2/. Please rename ojdbc6.jar to oracle-connector-java.jar, change the owner and group to sqoop2 and restart Sqoop2. Also, please use oracle.jdbc.OracleDriver as the JDBC Driver Class.