You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2014/06/24 12:05:25 UTC

[jira] [Updated] (HBASE-11407) hbase-client should not require Jackson for pure HBase queries be executed

     [ https://issues.apache.org/jira/browse/HBASE-11407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Beryozkin updated HBASE-11407:
-------------------------------------

    Attachment: diff.txt

The patch introduces a simple JsonMapper utility and updates Operation to delegate to JsonMapper if needed

> hbase-client should not require Jackson for pure HBase queries be executed 
> ---------------------------------------------------------------------------
>
>                 Key: HBASE-11407
>                 URL: https://issues.apache.org/jira/browse/HBASE-11407
>             Project: HBase
>          Issue Type: Improvement
>          Components: Client
>            Reporter: Sergey Beryozkin
>            Priority: Minor
>         Attachments: diff.txt
>
>
> Including the hbase-client module dependency and excluding Jackson dependencies causes the pure HBase query (run with HTableInterface) fail with Jackson ObjectMapper ClassNotFoundException. 
> This is due to org.apache.hadoop.hbase.client.Operation having ObjectMapper statically initialized.
> Moving ObjectMapper to a dedicated utility will help. The patch will be attached.



--
This message was sent by Atlassian JIRA
(v6.2#6252)