You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While using the csv serde in an insert overwrite call, the hive query fails with
java.lang.AbstractMethodError: com.bizo.hive.serde.csv.CSVSerde.getSerDeStats()Lorg/apache/hadoop/hive/serde2/SerDeStats;
I have recompiled the csv-serde adding the @OverRide annotation on the getSerDeStats method and this solves the issue.
Another quick fix is to set: hive.stats.autogather to false
as it is during the stats part of the serialisation that hive makes the mistaken code.
in org.apache.hadoop.hive.ql.exec.FileSinkOperator.processOp
My config is CDH 4.6, hive 0.10 and java 1.7.0_21
I hope this helps someone.
The text was updated successfully, but these errors were encountered:
I have no idea how you figured that out, but it did help me. I was running an insert overwrite that had absolutely no reason to fail, but it kept failing.
set hive.stats.autogather = false;
Adding that to my script saved the day. Go mystery! I wish the exception had something like "You can bypass this method by setting hive.stats.autogather to false". Instead it's got a pile of completely useless info.
Hello
While using the csv serde in an insert overwrite call, the hive query fails with
java.lang.AbstractMethodError: com.bizo.hive.serde.csv.CSVSerde.getSerDeStats()Lorg/apache/hadoop/hive/serde2/SerDeStats;
I have recompiled the csv-serde adding the @OverRide annotation on the getSerDeStats method and this solves the issue.
Another quick fix is to set: hive.stats.autogather to false
as it is during the stats part of the serialisation that hive makes the mistaken code.
in org.apache.hadoop.hive.ql.exec.FileSinkOperator.processOp
My config is CDH 4.6, hive 0.10 and java 1.7.0_21
I hope this helps someone.
The text was updated successfully, but these errors were encountered: