Member since
12-12-2019
1
Post
0
Kudos Received
0
Solutions
12-12-2019
08:56 PM
While trying to export Hive view to Oracle, columns are getting resolved. However the job fails with Null pointer exception. Does it SQOOP not support export data through view? If I change the view to table, it works as expected. sqoop export -D mapred.job.queue.name=XYZ --connect jdbc:netezza://hostdTL/dbName--table tblName --username userId --password password--hcatalog-table viewName --hcatalog-database dbName Caused by: java.lang.NullPointerException at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at org.apache.hive.hcatalog.mapreduce.FosterStorageHandler.<init>(FosterStorageHandler.java:59) at org.apache.hive.hcatalog.common.HCatUtil.getStorageHandler(HCatUtil.java:404) at org.apache.hive.hcatalog.common.HCatUtil.getStorageHandler(HCatUtil.java:367) at org.apache.hive.hcatalog.mapreduce.InitializeInput.extractPartInfo(InitializeInput.java:158) at org.apache.hive.hcatalog.mapreduce.InitializeInput.getInputJobInfo(InitializeInput.java:137) at org.apache.hive.hcatalog.mapreduce.InitializeInput.setInput(InitializeInput.java:86) at org.apache.hive.hcatalog.mapreduce.HCatInputFormat.setInput(HCatInputFormat.java:95)
... View more
Labels:
- Labels:
-
Apache Sqoop