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
HBase >> mail # dev >> HBase remote connection error


Copy link to this message
-
HBase remote connection error
Hi,

I have installed HBase on a Linux Ubuntu successfully. Then I created
a java program  as below

            Configuration config = HBaseConfiguration.create();
            config.set("hbase.zookeeper.quorum", "192.168.0.180");
            HTable table = new HTable(config, "test");
            System.out.println("Table test obtained ");
While running from the same machine it is working fine....But when we
run from another machine,  getting the errors...The internal
IP(192.168.0.180) in which Hbase installed.

The errors....

11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client
environment:zookeeper.version=3.3.2-1031432, built on 11/05/2010 05:32
GMT
11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client
environment:host.name=xmcp55.XMINDS.COM
11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client
environment:java.version=1.6.0_13
11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client
environment:java.vendor=Sun Microsystems Inc.
11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client
environment:java.home=C:\Program Files\Java\jre6
11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client
environment:java.class.path=G:\Documents and
Settings\jayakumar\workspace\HBaseClient\bin;G:\Documents and
Settings\jayakumar\workspace\HBaseClient\lib\hadoop-core-0.20-append-r1056497.jar;G:\Documents
and Settings\jayakumar\workspace\HBaseClient\lib\hbase-0.90.4.jar;G:\Documents
and Settings\jayakumar\workspace\HBaseClient\lib\log4j-1.2.16.jar;G:\Documents
and Settings\jayakumar\workspace\HBaseClient\lib\commons-cli-1.2.jar;G:\Documents
and Settings\jayakumar\workspace\HBaseClient\lib\commons-codec-1.4.jar;G:\Documents
and Settings\jayakumar\workspace\HBaseClient\lib\commons-el-1.0.jar;G:\Documents
and Settings\jayakumar\workspace\HBaseClient\lib\commons-httpclient-3.1.jar;G:\Documents
and Settings\jayakumar\workspace\HBaseClient\lib\commons-lang-2.5.jar;G:\Documents
and Settings\jayakumar\workspace\HBaseClient\lib\commons-logging-1.1.1.jar;G:\Documents
and Settings\jayakumar\workspace\HBaseClient\lib\commons-net-1.4.1.jar;G:\Documents
and Settings\jayakumar\workspace\HBaseClient\lib\zookeeper-3.3.2.jar
11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client
environment:java.library.path=C:\Program
Files\Java\jre6\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program
Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:/Program
Files/Java/jre6/lib/i386;F:\app\jayakumar\product\11.1.0\client_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program
Files\QuickTime\QTSystem\;C:\Atlassian\atlassian-plugin-sdk-3.2\bin;C:\Sun\jwsdp-2.0\jwsdp-shared\bin;C:\Program
Files\Java\jdk1.6.0_06\bin;C:\ffmpeg\bin;C:\Atlassian\atlassian-plugin-sdk-3.2\apache-maven\bin
11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client
environment:java.io.tmpdir=C:\DOCUME~1\JAYAKU~1\LOCALS~1\Temp\
11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client
environment:java.compiler=<NA>
11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client
environment:os.name=Windows XP
11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client environment:os.arch=x86
11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client environment:os.version=5.1
11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client
environment:user.name=jayakumar
11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client
environment:user.home=C:\Documents and Settings\jayakumar
11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client
environment:user.dir=G:\Documents and
Settings\jayakumar\workspace\HBaseClient
11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Initiating client
connection, connectString=192.168.0.180:2181 sessionTimeout=180000
watcher=hconnection
11/11/24 11:02:16 INFO zookeeper.ClientCnxn: Opening socket connection
to server /192.168.0.180:2181
11/11/24 11:02:18 INFO zookeeper.ClientCnxnestablished to XMJGWS03/192.168.0.180:2181, initiating session
11/11/24 11:02:18 INFO zookeeper.ClientCnxn: Session establishment
complete on server XMJGWS03/192.168.0.180:2181, sessionid 0x133d40c6d830004, negotiated timeout = 40000
11/11/24 11:02:22 INFO ipc.HbaseRPC: Server at
XMJGWS03/192.168.0.180:43655 could not be reached after 1 tries,
giving up.
11/11/24 11:02:27 INFO ipc.HbaseRPC: Server at
XMJGWS03/192.168.0.180:43655 could not be reached after 1 tries,
giving up.
11/11/24 11:02:32 INFO ipc.HbaseRPC: Server at
XMJGWS03/192.168.0.180:43655 could not be reached after 1 tries,
giving up.
11/11/24 11:02:37 INFO ipc.HbaseRPC: Server at
XMJGWS03/192.168.0.180:43655 could not be reached after 1 tries,
giving up.
11/11/24 11:02:43 INFO ipc.HbaseRPC: Server at
XMJGWS03/192.168.0.180:43655 could not be reached after 1 tries,
giving up.
11/11/24 11:02:49 INFO ipc.HbaseRPC: Server at
XMJGWS03/192.168.0.180:43655 could not be reached after 1 tries,
giving up.
11/11/24 11:02:57 INFO ipc.HbaseRPC: Server at
XMJGWS03/192.168.0.180:43655 could not be reached after 1 tries,
giving up.
11/11/24 11:03:05 INFO ipc.HbaseRPC: Server at
XMJGWS03/192.168.0.180:43655 could not be reached after 1 tries,
giving up.
11/11/24 11:03:17 INFO ipc.HbaseRPC: Server at
XMJGWS03/192.168.0.180:43655 could not be reached after 1 tries,
giving up.
11/11/24 11:03:37 INFO ipc.HbaseRPC: Server at
XMJGWS03/192.168.0.180:43655 could not be reached after 1 tries,
giving up.
11/11/24 11:03:40 INFO ipc.HbaseRPC: Server at
XMJGWS03/192.168.0.180:43655 could not be reached after 1 tries,
giving up.
11/11/24 11:03:45 INFO ipc.HbaseRPC: Server at
XMJGWS03/192.168.0.180:43655 could not be reached after 1 tries,
giving up.
11/11/24 11:03:50 INFO ipc.HbaseRPC: Server at
XMJGWS03/192.168.0.180:43655 could not be reached after 1 tries,
giving up.
11/11/24 11:03:55 INFO ipc.HbaseRPC: Serv
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