[ https://issues.apache.org/jira/browse/HIVE-20678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16640498#comment-16640498 ]
Alice Fan edited comment on HIVE-20678 at 10/6/18 3:57 AM: ----------------------------------------------------------- Submit patch 3 to remove getRecordWriter() implementation for OutputFormat interface and it will throw NotImplementedException when the method is used. As the HiveHBaseTableOutputFormat should be an object of HiveOutputFormat instead of OutputFormat's. Tested it on a cluster with spark shell didn't notice any exception or error after the change. was (Author: afan): Submit patch 3 to remove getRecordWriter() implementation for OutputFormat interface and it will throw NotImplementedException when the method is used. As the HiveHBaseTableOutputFormat should be an object of HiveOutputFormat instead of OutputFormat. > HiveHBaseTableOutputFormat should implement HiveOutputFormat to ensure > compatibility > ------------------------------------------------------------------------------------ > > Key: HIVE-20678 > URL: https://issues.apache.org/jira/browse/HIVE-20678 > Project: Hive > Issue Type: Bug > Components: HBase Handler, Hive, Spark > Affects Versions: 4.0.0 > Reporter: Alice Fan > Assignee: Alice Fan > Priority: Major > Attachments: HIVE-20678.1.patch, HIVE-20678.2.patch, > HIVE-20678.3.patch > > > This issue was caused by same reason described in > https://issues.apache.org/jira/browse/HIVE-11166. As the original Jira seems > to be abandoned, so create this one to resolve the issue. > HiveHBaseTableOutputFormat does not implemented HiveOutputFormat, it will > break the compatibility in spark's API when it is using hive. -- This message was sent by Atlassian JIRA (v7.6.3#76005)