Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 20F351748B for ; Mon, 30 Mar 2015 06:07:54 +0000 (UTC) Received: (qmail 58272 invoked by uid 500); 30 Mar 2015 06:07:53 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 58179 invoked by uid 500); 30 Mar 2015 06:07:53 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 58167 invoked by uid 99); 30 Mar 2015 06:07:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Mar 2015 06:07:53 +0000 Date: Mon, 30 Mar 2015 06:07:53 +0000 (UTC) From: "Jean-Marc Spaggiari (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HBASE-13360) Standalone example docs (for Raft / HBASE-12259) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-13360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Marc Spaggiari resolved HBASE-13360. ----------------------------------------- Resolution: Invalid > Standalone example docs (for Raft / HBASE-12259) > ------------------------------------------------ > > 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 127.0.0.1:10000,127.0.0.1:10001,127.0.0.1:10002 -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 127.0.0.1:10000,127.0.0.1:10001,127.0.0.1:10002 > 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 (v6.3.4#6332)