Reply
Contributor
Posts: 48
Registered: ‎05-30-2015
Accepted Solution

sqoop list database error

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

Highlighted
Contributor
Posts: 48
Registered: ‎05-30-2015

Re: sqoop list database error

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