"Ora-00942 Table or View Does not exist"
I am pretty sure that the table exist as the Sqoop Import has been tested using Generic JDBC Driver.
Going through Sqoop docs, it is mentioned that it requires several privileges as below:
The Oracle user for The Data Connector for Oracle and Hadoop requires the
following roles and privileges:
-
create session
In addition, the user must have the select any dictionary privilege or
select_catalog_role role or all of the following object privileges:
-
select on v_$instance
-
select on dba_tables
-
select on dba_tab_columns
-
select on dba_objects
-
select on dba_extents
-
select on dba_segments
— Required for Sqoop imports only -
select on dba_constraints
— Required for Sqoop imports only -
select on v_$database
— Required for Sqoop imports only -
select on v_$parameter
— Required for Sqoop imports only
In addition to the listed roles and privileges in the doc, it also requires "SELECT_CATALOG_ROLE" for the Sqoop Import to succeed using "--direct" option.
After granting the role to the user using which the import is being performed, the Sqoop Import process succeeded.
ReplyDeleteThis is lovely. keep it up
clipping path service
Wonderful article! Thanks for sharing.
ReplyDeleteclipping path service
background removal service
raster to vector conversion service
Thanks again for this post
ReplyDeleteGreat blog with it's name, great stuffs with great blog,Thanks.
ReplyDeletePhoto Retouching Services