tephra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TEPHRA-278) Support HBase 1.4
Date Thu, 11 Jan 2018 23:17:00 GMT

    [ https://issues.apache.org/jira/browse/TEPHRA-278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16323180#comment-16323180

ASF GitHub Bot commented on TEPHRA-278:

Github user anew commented on the issue:

    Running this test locally, I can see the cause of the failure in the logs:
    2018-01-11 15:10:52,501 - INFO  [TransactionStateCache STARTING:o.a.t.c.TransactionStateCache@113]
- Failed to initialize TransactionStateCache due to: 
    com.google.inject.ProvisionException: Guice provision errors:
    1) Unknown HBase version: 1.4.0
    1 error
    	at org.apache.tephra.util.HBaseVersionSpecificFactory.get(HBaseVersionSpecificFactory.java:60)
    	at org.apache.tephra.util.ConfigurationFactory.<init>(ConfigurationFactory.java:66)
    	at org.apache.tephra.coprocessor.TransactionStateCache.getSnapshotConfiguration(TransactionStateCache.java:118)
    	at org.apache.tephra.coprocessor.TransactionStateCache.tryInit(TransactionStateCache.java:99)
    	at org.apache.tephra.coprocessor.TransactionStateCache.refreshState(TransactionStateCache.java:158)
    	at org.apache.tephra.coprocessor.TransactionStateCache.startUp(TransactionStateCache.java:75)
    	at com.google.common.util.concurrent.AbstractIdleService$1$1.run(AbstractIdleService.java:43)
    	at java.lang.Thread.run(Thread.java:745) [na:1.7.0_80]
    So the fix would be to 
    - add a case for 1.4 in HBaseVersionSpecificFactory.get(). 
    - that will require also adding a getHBase14Classname() and implementing it in ConfigurationFactory.

    - rename the HBase13ConfigurationProvider in the 1.4 compat module to HBase14ConfigurationProvider
(along with its test case). 
    I tried this in my local build and the test then passes. 

> Support HBase 1.4
> -----------------
>                 Key: TEPHRA-278
>                 URL: https://issues.apache.org/jira/browse/TEPHRA-278
>             Project: Tephra
>          Issue Type: New Feature
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
> Some abstract interfaces have additional methods in HBase 1.4, requiring some minor updates.

This message was sent by Atlassian JIRA

View raw message