You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chukwa.apache.org by "Eric Yang (JIRA)" <ji...@apache.org> on 2015/01/11 21:23:34 UTC

[jira] [Comment Edited] (CHUKWA-723) Update Chukwa code to use new HBase API available in 0.94

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

Eric Yang edited comment on CHUKWA-723 at 1/11/15 8:22 PM:
-----------------------------------------------------------

I notice that HConnection can drop data, if HBase is down and ChukwaHBaseStore may not receive exception message to be notified of HBase write error.  We are adopting new API because HTablePool API is scheduled for removal in HBASE-9117.  In HTablePool, exception is thrown correctly.  Hence, adoption of new HBase API will need  to work with HBase community that HConnection can drop data.  This is related to HBASE-11306.  We probably need to settle on the version of HBase that we support in Chukwa 0.7.0.  If we are skipping HBase 0.96-0.98, maybe we should jump directly to 0.99.2, if HConnection to see if connection pool api has been improved.


was (Author: eyang):
I notice that HConnection can drop data, if HBase is down and ChukwaHBaseStore may not receive exception message to be notified of HBase write error.  We are adopting new API because HTablePool API is scheduled for removal in HBASE-9117.  In HTablePool, exception is thrown correctly.  Hence, adoption of new HBase API will need  to work with HBase community that Connection can drop data.  This is related to HBASE-11306.  We probably need to settle on the version of HBase that we support in Chukwa 0.7.0.  If we are skipping HBase 0.96-0.98, maybe we should jump directly to 0.99.2, if HConnection to see if connection pool api has been improved.

> Update Chukwa code to use new HBase API available in 0.94
> ---------------------------------------------------------
>
>                 Key: CHUKWA-723
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-723
>             Project: Chukwa
>          Issue Type: Improvement
>          Components: Data Collection
>    Affects Versions: 0.6.0
>            Reporter: Sreepathi Prasanna
>            Assignee: Sreepathi Prasanna
>            Priority: Minor
>             Fix For: 0.7.0
>
>         Attachments: chukwa-723.patch.0
>
>
> With 0.94 onwards, new HBase APIs are available, while depreciating old ones. For example, HTablePool has been depreciated and will be removed in the next release ( probably in 0.99), and HConnection is new one we should be using. Similarly, the KeyValue has been replaced with Cell APIs. We should change Chukwa code to have these new APIs. 



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