Hive Error: Caused by: java.lang.NullPointerException at org.apache.hadoop.hive.ql.exec.FileSinkOperator.findWriterOffset(FileSinkOperator.java:761)

This is for Hadoop eco system like HDFS, Map reduce, Hive, Hbase, Pig, sqoop,sqoop2, Avro, solr, hcatalog, impala, Oozie, Zoo Keeper and Hadoop distribution like Cloudera, Hortonwork etc.
forum_admin
Site Admin
Posts: 132
Joined: Wed Jul 16, 2014 9:22 pm
Contact:

Hive Error: Caused by: java.lang.NullPointerException at org.apache.hadoop.hive.ql.exec.FileSinkOperator.findWriterOffset(FileSinkOperator.java:761)

Postby forum_admin » Wed May 31, 2017 12:07 am

Hive update query is giving below error:

Caused by: java.lang.NullPointerException
at org.apache.hadoop.hive.ql.exec.FileSinkOperator.findWriterOffset(FileSinkOperator.java:761)
at org.apache.hadoop.hive.ql.exec.FileSinkOperator.processOp(FileSinkOperator.java:689)
at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:815)
at org.apache.hadoop.hive.ql.exec.SelectOperator.processOp(SelectOperator.java:84)
at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:815)
at org.apache.hadoop.hive.ql.exec.ExtractOperator.processOp(ExtractOperator.java:45)
at org.apache.hadoop.hive.ql.exec.mr.ExecReducer.reduce(ExecReducer.java:244)


forum_admin
Site Admin
Posts: 132
Joined: Wed Jul 16, 2014 9:22 pm
Contact:

Re: Hive Error: Caused by: java.lang.NullPointerException at org.apache.hadoop.hive.ql.exec.FileSinkOperator.findWriterOffset(FileSinkOperator.java:761)

Postby forum_admin » Wed May 31, 2017 12:08 am

you can see details in https://issues.cloudera.org/browse/DISTRO-726.
are you using Hive 1.1? the fix is available in higher version of Hive (in 1.2 or higher than 1.2).

forum_admin
Site Admin
Posts: 132
Joined: Wed Jul 16, 2014 9:22 pm
Contact:

Re: Hive Error: Caused by: java.lang.NullPointerException at org.apache.hadoop.hive.ql.exec.FileSinkOperator.findWriterOffset(FileSinkOperator.java:761)

Postby forum_admin » Wed May 31, 2017 12:09 am

Add below parameter:

set hive.vectorized.execution.reduce.enabled=false;
set hive.vectorized.execution.enabled=false;



Return to “Hadoop and Big Data”

Who is online

Users browsing this forum: No registered users and 1 guest