hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin SB (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-13360) Standalone example docs
Date Sun, 29 Mar 2015 14:59:52 GMT
Justin SB created HBASE-13360:

             Summary: Standalone example docs
                 Key: HBASE-13360
                 URL: https://issues.apache.org/jira/browse/HBASE-13360
             Project: HBase
          Issue Type: Improvement
          Components: Consensus
    Affects Versions: HBASE-12259
            Reporter: Justin SB
            Priority: Minor

I'm very interested in the Raft implementation (in particular, whether it can be reused elsewhere,
given that this effort seems likely to produce the canonical Raft implementation).

I'd like to try it standalone, but I'm not yet having much success.

I start a cluster of 3 servers (N=0,1,2):

java -cp "conf:hbase-consensus/target/hbase-consensus-2.0.0-SNAPSHOT.jar:hbase-consensus/target/dependency/*"
org.apache.hadoop.hbase.consensus.server.LocalConsensusServer -region 1 -servers,,
 -debug DEBUG -localIndex ${N}

And then I try running the load-test client:

java -cp "hbase-consensus/target/hbase-consensus-2.0.0-SNAPSHOT.jar:hbase-consensus/target/dependency/*"
org.apache.hadoop.hbase.consensus.client.QuorumLoadTestClient -region 1 -servers,,

That gives an immediate NPE at org.apache.hadoop.hbase.consensus.quorum.QuorumInfo.populateInternalMaps(QuorumInfo.java:315).

Are there any docs on how to get started playing with running this branch?  Thanks!

This message was sent by Atlassian JIRA

View raw message