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 5A2529069 for ; Thu, 24 Nov 2011 08:12:36 +0000 (UTC) Received: (qmail 24305 invoked by uid 500); 24 Nov 2011 08:12:35 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 24279 invoked by uid 500); 24 Nov 2011 08:12:35 -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 24264 invoked by uid 99); 24 Nov 2011 08:12:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Nov 2011 08:12:34 +0000 X-ASF-Spam-Status: No, hits=-0.6 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mech393@gmail.com designates 209.85.213.169 as permitted sender) Received: from [209.85.213.169] (HELO mail-yx0-f169.google.com) (209.85.213.169) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Nov 2011 08:12:27 +0000 Received: by yenm12 with SMTP id m12so3030886yen.14 for ; Thu, 24 Nov 2011 00:12:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=nANmx5R14/AI1lcylpkul7cIksK95hAyKIINfG+ho54=; b=Dad4JSSV69IR6sl9Y0kNLu+O43jt3RM08VqUtTFwmy8P/ugjQk0jXxaeEnlb4DlAvb 00kp0+oF+GO1Eslf7iw/OLp+HTljaZ3A+IiUjTGYodJ5V2tjy04akz8Kqi07JXlDkUqp 11h+viq5OpOArp5jeS/Cgl2L/ITLMg2iKnUKw= MIME-Version: 1.0 Received: by 10.50.88.199 with SMTP id bi7mr31433345igb.45.1322122326028; Thu, 24 Nov 2011 00:12:06 -0800 (PST) Received: by 10.42.19.9 with HTTP; Thu, 24 Nov 2011 00:12:05 -0800 (PST) In-Reply-To: References: Date: Thu, 24 Nov 2011 13:42:05 +0530 Message-ID: Subject: Re: HBase remote connection error From: jayakumar t To: dev@hbase.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi, The same error even connecting from a remote Linux machine! On Thu, Nov 24, 2011 at 11:55 AM, Stack wrote: > On Wed, Nov 23, 2011 at 9:57 PM, jayakumar t wrote: >> Hi, >> >> I have installed HBase on a Linux Ubuntu successfully. Then I created >> a java program =A0as below >> >> =A0 =A0 =A0 =A0 =A0 =A0Configuration config =3D HBaseConfiguration.creat= e(); >> =A0 =A0 =A0 =A0 =A0 =A0config.set("hbase.zookeeper.quorum", "192.168.0.1= 80"); >> =A0 =A0 =A0 =A0 =A0 =A0HTable table =3D new HTable(config, "test"); >> =A0 =A0 =A0 =A0 =A0 =A0System.out.println("Table test obtained "); >> >> >> While running from the same machine it is working fine....But when we >> run from another machine, =A0getting the errors...The internal >> IP(192.168.0.180) in which Hbase installed. >> > > Does shell work on other machine? > > It looks like its a windows machine. =A0Have you read the archive on > this mailing list for issues getting going with hbase on windows? > > St.Ack > >> The errors.... >> >> 11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client >> environment:zookeeper.version=3D3.3.2-1031432, built on 11/05/2010 05:32 >> GMT >> 11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client >> environment:host.name=3Dxmcp55.XMINDS.COM >> 11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client >> environment:java.version=3D1.6.0_13 >> 11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client >> environment:java.vendor=3DSun Microsystems Inc. >> 11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client >> environment:java.home=3DC:\Program Files\Java\jre6 >> 11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client >> environment:java.class.path=3DG:\Documents and >> Settings\jayakumar\workspace\HBaseClient\bin;G:\Documents and >> Settings\jayakumar\workspace\HBaseClient\lib\hadoop-core-0.20-append-r10= 56497.jar;G:\Documents >> and Settings\jayakumar\workspace\HBaseClient\lib\hbase-0.90.4.jar;G:\Doc= uments >> and Settings\jayakumar\workspace\HBaseClient\lib\log4j-1.2.16.jar;G:\Doc= uments >> 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:\D= ocuments >> 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.j= ar;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=3DC:\Program >> Files\Java\jre6\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WIN= DOWS;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:\S= un\jwsdp-2.0\jwsdp-shared\bin;C:\Program >> Files\Java\jdk1.6.0_06\bin;C:\ffmpeg\bin;C:\Atlassian\atlassian-plugin-s= dk-3.2\apache-maven\bin >> 11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client >> environment:java.io.tmpdir=3DC:\DOCUME~1\JAYAKU~1\LOCALS~1\Temp\ >> 11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client >> environment:java.compiler=3D >> 11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client >> environment:os.name=3DWindows XP >> 11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client environment:os.arch= =3Dx86 >> 11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client environment:os.versio= n=3D5.1 >> 11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client >> environment:user.name=3Djayakumar >> 11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client >> environment:user.home=3DC:\Documents and Settings\jayakumar >> 11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Client >> environment:user.dir=3DG:\Documents and >> Settings\jayakumar\workspace\HBaseClient >> 11/11/24 11:02:16 INFO zookeeper.ZooKeeper: Initiating client >> connection, connectString=3D192.168.0.180:2181 sessionTimeout=3D180000 >> watcher=3Dhconnection >> 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.ClientCnxn: Socket connection >> established 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 =3D >> 0x133d40c6d830004, negotiated timeout =3D 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: Server at >> XMJGWS03/192.168.0.180:43655 could not be reached after 1 tries, >> giving up. >> 11/11/24 11:04:01 INFO ipc.HbaseRPC: Server at >> XMJGWS03/192.168.0.180:43655 could not be reached after 1 tries, >> giving up. >> 11/11/24 11:04:07 INFO ipc.HbaseRPC: Server at >> XMJGWS03/192.168.0.180:43655 could not be reached after 1 tries, >> giving up. >> 11/11/24 11:04:15 INFO ipc.HbaseRPC: Server at >> XMJGWS03/192.168.0.180:43655 could not be reached after 1 tries, >> giving up. >> 11/11/24 11:04:24 INFO ipc.HbaseRPC: Server at >> XMJGWS03/192.168.0.180:43655 could not be reached after 1 tries, >> giving up. >> 11/11/24 11:04:36 INFO ipc.HbaseRPC: Server at >> XMJGWS03/192.168.0.180:43655 could not be reached after 1 tries, >> giving up. >> 11/11/24 11:04:56 INFO ipc.HbaseRPC: Server at >> XMJGWS03/192.168.0.180:43655 could not be reached after 1 tries, >> giving up. >> org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed >> setting up proxy interface >> org.apache.hadoop.hbase.ipc.HRegionInterface to >> XMJGWS03/192.168.0.180:43655 after attempts=3D1 >> =A0 =A0 =A0 =A0at org.apache.hadoop.hbase.ipc.HBaseRPC.waitForProxy(HBas= eRPC.java:355) >> =A0 =A0 =A0 =A0at org.apache.hadoop.hbase.client.HConnectionManager$HCon= nectionImplementation.getHRegionConnection(HConnectionManager.java:969) >> =A0 =A0 =A0 =A0at org.apache.hadoop.hbase.client.HConnectionManager$HCon= nectionImplementation.getHRegionConnection(HConnectionManager.java:988) >> =A0 =A0 =A0 =A0at org.apache.hadoop.hbase.client.HConnectionManager$HCon= nectionImplementation.locateRegionInMeta(HConnectionManager.java:691) >> =A0 =A0 =A0 =A0at org.apache.hadoop.hbase.client.HConnectionManager$HCon= nectionImplementation.locateRegion(HConnectionManager.java:590) >> =A0 =A0 =A0 =A0at org.apache.hadoop.hbase.client.HConnectionManager$HCon= nectionImplementation.relocateRegion(HConnectionManager.java:565) >> =A0 =A0 =A0 =A0at org.apache.hadoop.hbase.client.HConnectionManager$HCon= nectionImplementation.locateRegionInMeta(HConnectionManager.java:795) >> =A0 =A0 =A0 =A0at org.apache.hadoop.hbase.client.HConnectionManager$HCon= nectionImplementation.locateRegion(HConnectionManager.java:594) >> =A0 =A0 =A0 =A0at org.apache.hadoop.hbase.client.HConnectionManager$HCon= nectionImplementation.locateRegion(HConnectionManager.java:559) >> =A0 =A0 =A0 =A0at org.apache.hadoop.hbase.client.HTable.(HTable.ja= va:173) >> =A0 =A0 =A0 =A0at org.apache.hadoop.hbase.client.HTable.(HTable.ja= va:147) >> =A0 =A0 =A0 =A0at Main.main(Main.java:43) >> Caused by: java.net.ConnectException: Connection refused: no further inf= ormation >> =A0 =A0 =A0 =A0at sun.nio.ch.SocketChannelImpl.checkConnect(Native Metho= d) >> =A0 =A0 =A0 =A0at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Sou= rce) >> =A0 =A0 =A0 =A0at org.apache.hadoop.net.SocketIOWithTimeout.connect(Sock= etIOWithTimeout.java:206) >> =A0 =A0 =A0 =A0at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:4= 04) >> =A0 =A0 =A0 =A0at org.apache.hadoop.hbase.ipc.HBaseClient$Connection.set= upIOstreams(HBaseClient.java:328) >> =A0 =A0 =A0 =A0at org.apache.hadoop.hbase.ipc.HBaseClient.getConnection(= HBaseClient.java:883) >> =A0 =A0 =A0 =A0at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClie= nt.java:750) >> =A0 =A0 =A0 =A0at org.apache.hadoop.hbase.ipc.HBaseRPC$Invoker.invoke(HB= aseRPC.java:257) >> =A0 =A0 =A0 =A0at $Proxy4.getProtocolVersion(Unknown Source) >> =A0 =A0 =A0 =A0at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC= .java:419) >> =A0 =A0 =A0 =A0at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC= .java:393) >> =A0 =A0 =A0 =A0at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC= .java:444) >> =A0 =A0 =A0 =A0at org.apache.hadoop.hbase.ipc.HBaseRPC.waitForProxy(HBas= eRPC.java:349) >> =A0 =A0 =A0 =A0... 11 more >> >