accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Pauli <ke...@thepaulis.com>
Subject Running Helloworld from different host
Date Fri, 21 Dec 2012 17:43:18 GMT
Hi, I'm trying to get my first Accumulo environment setup to evaluate it.
 I've got it running within a CentOS VM, and I've setup the helloworld
data.

My CentOS guest IP is 192.168.254.130.  The helloworld examples work fine
from an ssh attached to the guest OS.

I'm now trying to access the helloworld data from my host OS, via the
org.apache.accumulo.examples.simple.helloworld.ReadData program.  It gets
this far:

[11:04:41.868] INFO: Initiating client connection, connectString=
192.168.254.130:2181 sessionTimeout=30000
watcher=org.apache.accumulo.core.zookeeper.ZooSession$AccumuloWatcher@3ca55242

[11:04:46.432] INFO: Opening socket connection to server
192.168.254.130/192.168.254.130:2181. Will not attempt to authenticate
using SASL (unknown error)
[11:04:46.439] INFO: Socket connection established to
192.168.254.130/192.168.254.130:2181, initiating session
[11:04:46.459] INFO: Session establishment complete on server
192.168.254.130/192.168.254.130:2181, sessionid = 0x13bba6809700691,
negotiated timeout = 30000
WARN [main] (ServerClient.java:156) - Failed to find an available server in
the list of servers: [127.0.0.1:9997:9997 (120000)]

I'm wondering where that that value 127.0.0.1:9997:9997 is coming from.  Is
that Zookeeper trying to redirect me to the Accumulo server?  Do I want it
to be 192.168.254.130:9997 instead, since from my host OS's perspective,
127.0.0.1 is the host OS localhost, not the guest OS?  If so, how do I
configure accumulo's registration within Zookeeper?

I have opened up port 9997 in the CentOS guest.

Apologies as I am new to Zookeeper as well as Accumulo.

-- 
Regards,
Kevin Pauli

Mime
View raw message