Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Accumulo >> mail # user >> cloud configuration


Copy link to this message
-
Re: cloud configuration
This setup is not recommended as it will put a lot of strain on your master
machine since all connections will be routed through it.  It also creates a
bottleneck and single point of failure.

If you wanted to get it working for testing you will need to setup your
master machine as a router (and possibly PNAT depending on your network).
 I believe the details of setting this up are beyond the scope of this
list.  Here is a howto if you want to pursue this:
http://www.stanford.edu/~fenn/linux/

--Jason

On Mon, Mar 26, 2012 at 11:44 PM, Hider, Sandy <[EMAIL PROTECTED]>wrote:

> Hello all,
> I am working to setup a small cloud of 8 nodes.  All slave nodes are
> attached to a standalone switch.  The master node, which has zookeeper,
> namenode and jobtracker has two nics: one on the standalone switch and one
> to the main network.
>
>
> I was hoping that I could run java code to query the cloud through the
> master from any system on the main network.  Is this possible or will I
> have to run the code on the master node with this setup?  Currently I am
> getting this error:
>
> -Test Java
> ZooKeeperInstance zki = new ZooKeeperInstance("cloud", "master-server");
> System.err.println("Got zookeeper instance!");
> Connector conn = zki.getConnector("root", "somepassword");
> System.err.println("never get here.");
>
> -Output
> 12/03/26 23:24:03 INFO zookeeper.ZooKeeper: Initiating client connection,
> connectString=master-server sessionTimeout=30000
> watcher=org.apache.accumulo.core.zookeeper.ZooSession$AccumuloWatcher@85af80
> 12/03/26 23:24:03 INFO zookeeper.ClientCnxn: Opening socket connection to
> server /200.209.130.130:2181  (fake IP)
> 12/03/26 23:24:03 INFO zookeeper.ClientCnxn: Socket connection established
> to master-server/200.209.130.130:2181, initiating session
> 12/03/26 23:24:03 INFO zookeeper.ClientCnxn: Session establishment
> complete on server master-server/200.209.130.130:2181, sessionid > 0x1365226ee5d0039, negotiated timeout = 30000
> Got zookeeper instance!
> 12/03/26 23:24:25 WARN impl.ServerClient: Failed to find an available
> server in the list of servers: [10.10.10.101:9997:9997 (120000),
> 10.10.10.102:9997:9997 (120000)]
>
> Thanks in advance,
> Sandy
>
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB