Created 02-19-2016 03:29 PM
While connecting to an ORACLE database with --direct option, gives error
sqoop import --options-file db.config --table table1 --direct -m 4
ORA-00942: table or view does not exist
Same sqoop command works fine without --direct option.
sqoop import --options-file db.config --table table1 -m 4
Created 02-19-2016 03:31 PM
userid that is used to login to ORACLE should have SELECT_CATALOG_ROLE to use --direct option.
Created 02-19-2016 03:40 PM
Catalog role makes sense.
I need to check on why no direct did not work.
It's like sqlldr ...skip checks
Created 05-20-2019 11:01 AM
1.Try to run the Sqoop job as a non-root user.
2.Check if your JDK is properly installed on the host and your JAVA_HOME is set properly.
3.Check if you have granted the right permissions to the Databases you're using.
i think there must be a configuration error !