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?
Managed to solve this after given select permission on the database and use ojdbc7.jar for Oracle 12c.
View solution in original post