Support Questions

Find answers, ask questions, and share your expertise

sqoop list database error

avatar
Contributor

Hi there,

 

I tried to list databse from the remote Oracle and MSsql servers using oracle and jtds driver in sqoop, somehow the Oracle gave me this error:

 

- ERROR manager.OracleManager: The catalog view DBuser was not found. This may happen if the user does not have DBA privileges. Please check privileges and try again. 

 

and MSsql server gave me this error:

 

-  ERROR sqoop.Sqoop: Got exception running Sqoop: java.lang.RuntimeException: java.sql.SQLException: Invalid object name 'SYS.DATABASES'.
java.lang.RuntimeException: java.sql.SQLException: Invalid object name 'SYS.DATABASES'.

 

Anyone has any idea with this?

 

Thanks

1 ACCEPTED SOLUTION

avatar
Contributor

Managed to solve this after given select permission on the database and use ojdbc7.jar for Oracle 12c.

View solution in original post

1 REPLY 1

avatar
Contributor

Managed to solve this after given select permission on the database and use ojdbc7.jar for Oracle 12c.