[ 
https://issues.apache.org/jira/browse/HIVE-13170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15169052#comment-15169052
 ] 

ASF GitHub Bot commented on HIVE-13170:
---------------------------------------

GitHub user chutium opened a pull request:

    https://github.com/apache/hive/pull/66

    [HIVE-13170] Implements interface HiveOutputFormat<K,V>

    HiveAccumuloTableOutputFormat as OutputFormat in an hive storage handler, 
should implement HiveOutputFormat<K,V> interface as well to ensure compatibility
    
    ref. https://issues.apache.org/jira/browse/HIVE-13170

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/chutium/hive master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/hive/pull/66.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #66
    
----
commit 5e658d147072efa9389f44685cf47dc9c5c42ae5
Author: Teng Qiu <teng....@gmail.com>
Date:   2016-02-26T14:00:31Z

    Implements interface HiveOutputFormat<K,V> 
    
    HiveAccumuloTableOutputFormat as OutputFormat in an hive storage handler, 
should implement HiveOutputFormat<K,V> interface as well to ensure compatibility
    
    ref. https://issues.apache.org/jira/browse/HIVE-13170

----


> HiveAccumuloTableOutputFormat should implement HiveOutputFormat to ensure 
> compatibility
> ---------------------------------------------------------------------------------------
>
>                 Key: HIVE-13170
>                 URL: https://issues.apache.org/jira/browse/HIVE-13170
>             Project: Hive
>          Issue Type: Bug
>          Components: Accumulo Storage Handler
>    Affects Versions: 1.2.1, 2.0.0
>            Reporter: Teng Qiu
>            Assignee: Josh Elser
>
> this issue was caused by same reason described in 
> https://issues.apache.org/jira/browse/HIVE-11166
> both HiveAccumuloTableOutputFormat and HiveHBaseTableOutputFormat does not 
> implemented HiveOutputFormat, it may break the compatibility in some other 
> APIs that are using hive, such as spark's API.
> spark expects the OutputFormat called by hive storage handler is some kind of 
> HiveOutputFormat. which is totally reasonable.
> and since they are OutputFormat for hive storage handler, they should not 
> only extend the 3rd party OutputFormat (AccumuloOutputFormat or 
> hbase.TableOutputFormat), but also implement HiveOutputFormat interface.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to