Created 07-18-2017 07:10 AM
Hello,
I am trying to import data from DB2 database table with the partition column name. But I am facing below error message.
Please find below screenshot for command and error :-
Created on 07-18-2017 07:14 AM - edited 08-18-2019 12:55 AM
please find attachments
Created 07-18-2017 07:37 PM
Add --columns clause in your sqoop statement and mention all columns from the db2 table with the exception of the column which is used for partitioning.
That would fix this issue.
Thanks
Created 07-19-2017 04:39 PM
Please let us know if this fixed the issue and you can close this thread by accepting the correct answer.
Created 07-20-2017 07:15 AM
@dnyanesh kulkarni
The issue seems to be due to no permission to execute the query as end-user on hive server side.
Please change the 'Run as end user instead of Hive user' and set it to 'true' the 'hive-site.xml' (hive.server2.enable.doAs=true)