Is your HMaster and HRegionServer connecting ? Is  your HMaster and HRS in
same machine?

Did you try installing HMaster and HRS in different machines?

By not connecting to HBase do you mean your client is not able to access
your HBase cluster ? 

Regards
Ram


-----Original Message-----
From: arunmohan [mailto:[email protected]] 
Sent: Friday, November 25, 2011 10:26 AM
To: [email protected]
Subject: HBase connection problem from remote machine

Hi,
    Cannot connect hbase from remote machine while connecting successfully
in within local.

this is the errorlog from remote machine.. please suggest what is the
cause..


1/24 17:29:37 INFO zookeeper.ZooKeeper: Client
environment:zookeeper.version=3.3.2-1031432, built on 11/05/2010 05:32 GMT
11/11/24 17:29:37 INFO zookeeper.ZooKeeper: Client environment:host.name
=xminds10
11/11/24 17:29:37 INFO zookeeper.ZooKeeper: Client
environment:java.version=1.6.0_24
11/11/24 17:29:37 INFO zookeeper.ZooKeeper: Client
environment:java.vendor=Sun Microsystems Inc.
11/11/24 17:29:37 INFO zookeeper.ZooKeeper: Client
environment:java.home=/usr/lib/jvm/java-6-sun-1.6.0.24/jre
11/11/24 17:29:37 INFO zookeeper.ZooKeeper: Client
environment:java.class.path=/home/vishnupriya/workspace_tlive/HbaseClient/bi
n:/home/vishnupriya/workspace_tlive/HbaseClient/lib/commons-cli-1.2.jar:/hom
e/vishnupriya/workspace_tlive/HbaseClient/lib/commons-codec-1.4.jar:/home/vi
shnupriya/workspace_tlive/HbaseClient/lib/commons-el-1.0.jar:/home/vishnupri
ya/workspace_tlive/HbaseClient/lib/commons-httpclient-3.1.jar:/home/vishnupr
iya/workspace_tlive/HbaseClient/lib/commons-lang-2.5.jar:/home/vishnupriya/w
orkspace_tlive/HbaseClient/lib/hadoop-core-0.20-append-r1056497.jar:/home/vi
shnupriya/workspace_tlive/HbaseClient/lib/hbase-0.90.4.jar:/home/vishnupriya
/workspace_tlive/HbaseClient/lib/log4j-1.2.16.jar:/home/vishnupriya/workspac
e_tlive/HbaseClient/lib/zookeeper-3.3.2.jar:/home/vishnupriya/workspace_tliv
e/HbaseClient/lib/commons-net-1.4.1.jar:/home/vishnupriya/workspace_tlive/Hb
aseClient/lib/commons-logging-1.1.1.jar
11/11/24 17:29:37 INFO zookeeper.ZooKeeper: Client
environment:java.library.path=/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/i386/
server:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/i386:/usr/lib/jvm/java-6-sun
-1.6.0.24/jre/../lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/i386/clie
nt:/usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/i386:/usr/lib/xulrunner-addons:/
usr/lib/xulrunner-addons:/usr/java/packages/lib/i386:/lib:/usr/lib
11/11/24 17:29:37 INFO zookeeper.ZooKeeper: Client
environment:java.io.tmpdir=/tmp
11/11/24 17:29:37 INFO zookeeper.ZooKeeper: Client
environment:java.compiler=<NA>
11/11/24 17:29:37 INFO zookeeper.ZooKeeper: Client environment:os.name=Linux
11/11/24 17:29:37 INFO zookeeper.ZooKeeper: Client environment:os.arch=i386
11/11/24 17:29:37 INFO zookeeper.ZooKeeper: Client
environment:os.version=2.6.35-22-generic
11/11/24 17:29:37 INFO zookeeper.ZooKeeper: Client environment:user.name
=vishnupriya
11/11/24 17:29:37 INFO zookeeper.ZooKeeper: Client
environment:user.home=/home/vishnupriya
11/11/24 17:29:37 INFO zookeeper.ZooKeeper: Client
environment:user.dir=/home/vishnupriya/workspace_tlive/HbaseClient
11/11/24 17:29:37 INFO zookeeper.ZooKeeper: Initiating client connection,
connectString=192.168.0.180:2181 sessionTimeout=180000 watcher=hconnection
11/11/24 17:29:37 INFO zookeeper.ClientCnxn: Opening socket connection to
server /192.168.0.180:2181
11/11/24 17:29:37 INFO zookeeper.ClientCnxn: Socket connection established
to xmjgws03/192.168.0.180:2181, initiating session
11/11/24 17:29:37 INFO zookeeper.ClientCnxn: Session establishment complete
on server xmjgws03/192.168.0.180:2181, sessionid = 0x133d50f33d30011,
negotiated timeout = 40000
11/11/24 17:29:37 INFO ipc.HbaseRPC: Server at
xmjgws03/192.168.0.180:57633could not be reached after 1 tries, giving
up.
11/11/24 17:29:38 INFO ipc.HbaseRPC: Server at
xmjgws03/192.168.0.180:57633could not be reached after 1 tries, giving
up.

Regards,
Arunmohan

Reply via email to