Hi,
 
I have setup hadoop and Hbase in distributed mode in a server. I am running 
Hbase client from a different machine.
 
I am getting the below the error while running the client.
 
Any idea what could be wrong in my configuration?
 12/01/27 13:09:43 INFO zookeeper.ZooKeeper: Client 
environment:zookeeper.version=3.4.2-1221870, built on 12/21/2011 20:46 GMT
12/01/27 13:09:43 INFO zookeeper.ZooKeeper: Client 
environment:host.name=SK-2636.asiapacific.hpqcorp.net
12/01/27 13:09:43 INFO zookeeper.ZooKeeper: Client 
environment:java.version=1.6.0_27
12/01/27 13:09:43 INFO zookeeper.ZooKeeper: Client environment:java.vendor=Sun 
Microsystems Inc.
12/01/27 13:09:43 INFO zookeeper.ZooKeeper: Client 
environment:java.home=C:\u01\java\jdk1.6.0_27\jre
12/01/27 13:09:43 INFO zookeeper.ZooKeeper: Client 
environment:java.class.path=C:\projects\tr-framework\target\classes;C:\projects\tr-framework\target\test-classes;C:\Users\kannsang\Desktop\hadoop-core-1.0.0.jar;C:\Users\kannsang\Desktop\hbase-0.90.5.jar;C:\Users\kannsang\Desktop\commons-logging-1.1.1.jar;C:\Users\kannsang\Desktop\zookeeper-3.4.2.jar;C:\Users\kannsang\Desktop\slf4j-log4j12-1.6.1.jar;C:\Users\kannsang\Desktop\slf4j-api-1.6.1.jar;C:\Users\kannsang\Desktop\log4j-1.2.16.jar
12/01/27 13:09:43 INFO zookeeper.ZooKeeper: Client 
environment:java.library.path=C:\u01\java\jdk1.6.0_27\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/u01/java/jdk1.6.0_27/bin/../jre/bin/server;C:/u01/java/jdk1.6.0_27/bin/../jre/bin;C:/u01/java/jdk1.6.0_27/bin/../jre/lib/amd64;C:\u01\MQ\Java\lib;C:\u01\MQ\Java\lib64;C:\u01\app\oracle\product\11.2.0\server\bin;;C:\Perl\site\bin;C:\Perl\bin;C:\PROGRA~1\RA2HP\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\PROGRA~1\ActivIdentity\ActivClient\;C:\PROGRA~2\ActivIdentity\ActivClient\;C:\PROGRA~1\WIDCOMM\Bluetooth
 Software\;C:\PROGRA~1\WIDCOMM\Bluetooth Software\syswow64;C:\Program 
Files\Internet 
Explorer;%ANT_HOME%\bin;%JAVA_HOME%\bin;C:\u01\apache-ant-1.8.2\bin;C:\u01\java\jdk1.6.0_27\bin;C:\u01\MQ\bin64;C:\u01\MQ\bin;C:\u01\MQ\tools\c\samples\bin;C:\eclipse;;.
12/01/27 13:09:43 INFO zookeeper.ZooKeeper: Client 
environment:java.io.tmpdir=C:\Users\kannsang\AppData\Local\Temp\
12/01/27 13:09:43 INFO zookeeper.ZooKeeper: Client 
environment:java.compiler=<NA>
12/01/27 13:09:43 INFO zookeeper.ZooKeeper: Client environment:os.name=Windows 7
12/01/27 13:09:43 INFO zookeeper.ZooKeeper: Client environment:os.arch=amd64
12/01/27 13:09:43 INFO zookeeper.ZooKeeper: Client environment:os.version=6.1
12/01/27 13:09:43 INFO zookeeper.ZooKeeper: Client 
environment:user.name=kannsang
12/01/27 13:09:43 INFO zookeeper.ZooKeeper: Client 
environment:user.home=C:\Users\kannsang
12/01/27 13:09:43 INFO zookeeper.ZooKeeper: Client 
environment:user.dir=C:\projects\tr-framework
12/01/27 13:09:43 INFO zookeeper.ZooKeeper: Initiating client connection, 
connectString=usclssoat245.airservices.eds.com:2181 sessionTimeout=180000 
watcher=hconnection
12/01/27 13:09:43 INFO zookeeper.ClientCnxn: Opening socket connection to 
server /204.26.136.195:2181
12/01/27 13:09:44 INFO zookeeper.ClientCnxn: Socket connection established to 
usclssoat245.airservices.eds.com/204.26.136.195:2181, initiating session
12/01/27 13:09:44 WARN zookeeper.ClientCnxnSocket: Connected to an old server; 
r-o mode will be unavailable
12/01/27 13:09:44 INFO zookeeper.ClientCnxn: Session establishment complete on 
server usclssoat245.airservices.eds.com/204.26.136.195:2181, sessionid = 
0x1351e187cff0004, negotiated timeout = 180000
12/01/27 13:09:49 INFO ipc.HbaseRPC: Server at 
usclssoat245.airservices.eds.com/204.26.136.195:60020 could not be reached 
after 1 tries, giving up.
12/01/27 13:09:51 INFO ipc.HbaseRPC: Server at 
usclssoat245.airservices.eds.com/204.26.136.195:60020 could not be reached 
after 1 tries, giving up.
12/01/27 13:09:54 INFO ipc.HbaseRPC: Server at 
usclssoat245.airservices.eds.com/204.26.136.195:60020 could not be reached 
after 1 tries, giving up.
12/01/27 13:09:57 INFO ipc.HbaseRPC: Server at 
usclssoat245.airservices.eds.com/204.26.136.195:60020 could not be reached 
after 1 tries, giving up.
12/01/27 13:10:01 INFO ipc.HbaseRPC: Server at 
usclssoat245.airservices.eds.com/204.26.136.195:60020 could not be reached 
after 1 tries, giving up.
12/01/27 13:10:04 INFO ipc.HbaseRPC: Server at 
usclssoat245.airservices.eds.com/204.26.136.195:60020 could not be reached 
after 1 tries, giving up.
12/01/27 13:10:10 INFO ipc.HbaseRPC: Server at 
usclssoat245.airservices.eds.com/204.26.136.195:60020 could not be reached 
after 1 tries, giving up.
12/01/27 13:10:16 INFO ipc.HbaseRPC: Server at 
usclssoat245.airservices.eds.com/204.26.136.195:60020 could not be reached 
after 1 tries, giving up.
12/01/27 13:10:25 INFO ipc.HbaseRPC: Server at 
usclssoat245.airservices.eds.com/204.26.136.195:60020 could not be reached 
after 1 tries, giving up.
12/01/27 13:10:43 INFO ipc.HbaseRPC: Server at 
usclssoat245.airservices.eds.com/204.26.136.195:60020 could not be reached 
after 1 tries, giving up.
12/01/27 13:10:45 INFO ipc.HbaseRPC: Server at 
usclssoat245.airservices.eds.com/204.26.136.195:60020 could not be reached 
after 1 tries, giving up.
12/01/27 13:10:47 INFO ipc.HbaseRPC: Server at 
usclssoat245.airservices.eds.com/204.26.136.195:60020 could not be reached 
after 1 tries, giving up.
12/01/27 13:10:50 INFO ipc.HbaseRPC: Server at 
usclssoat245.airservices.eds.com/204.26.136.195:60020 could not be reached 
after 1 tries, giving up.
12/01/27 13:10:53 INFO ipc.HbaseRPC: Server at 
usclssoat245.airservices.eds.com/204.26.136.195:60020 could not be reached 
after 1 tries, giving up.
12/01/27 13:10:56 INFO ipc.HbaseRPC: Server at 
usclssoat245.airservices.eds.com/204.26.136.195:60020 could not be reached 
after 1 tries, giving up.
12/01/27 13:11:00 INFO ipc.HbaseRPC: Server at 
usclssoat245.airservices.eds.com/204.26.136.195:60020 could not be reached 
after 1 tries, giving up.
12/01/27 13:11:06 INFO ipc.HbaseRPC: Server at 
usclssoat245.airservices.eds.com/204.26.136.195:60020 could not be reached 
after 1 tries, giving up.
12/01/27 13:11:11 INFO ipc.HbaseRPC: Server at 
usclssoat245.airservices.eds.com/204.26.136.195:60020 could not be reached 
after 1 tries, giving up.
12/01/27 13:11:21 INFO ipc.HbaseRPC: Server at 
usclssoat245.airservices.eds.com/204.26.136.195:60020 could not be reached 
after 1 tries, giving up.
12/01/27 13:11:39 INFO ipc.HbaseRPC: Server at 
usclssoat245.airservices.eds.com/204.26.136.195:60020 could not be reached 
after 1 tries, giving 
up.org.apache.hadoop.hbase.client.RetriesExhaustedException
at org.apache.hadoop.hbase.ipc.HBaseRPC.waitForProxy(
at 
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getHRegionConnection(
at 
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getHRegionConnection(
at 
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(
at 
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(
at 
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.relocateRegion(
at 
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(
at 
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(
at 
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(
at org.apache.hadoop.hbase.client.HTable.<init>(
at org.apache.hadoop.hbase.client.HTable.<init>(
at net.hp.tr.framework.logging.impl.HBaseClient.main(
Caused by: 
at sun.nio.ch.SocketChannelImpl.checkConnect(
at sun.nio.ch.SocketChannelImpl.finishConnect(
at org.apache.hadoop.net.SocketIOWithTimeout.connect(
at org.apache.hadoop.net.NetUtils.connect(
at org.apache.hadoop.hbase.ipc.HBaseClient$Connection.setupIOstreams(
at org.apache.hadoop.hbase.ipc.HBaseClient.getConnection(
at org.apache.hadoop.hbase.ipc.HBaseClient.call(
at org.apache.hadoop.hbase.ipc.HBaseRPC$Invoker.invoke(
at $Proxy4.getProtocolVersion(Unknown Source)
at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(
at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(
at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(
at org.apache.hadoop.hbase.ipc.HBaseRPC.waitForProxy(
... 11 more: Failed setting up proxy interface 
org.apache.hadoop.hbase.ipc.HRegionInterface to 
usclssoat245.airservices.eds.com/204.26.136.195:60020 after 
attempts=1HBaseRPC.java:355)HConnectionManager.java:1176)HConnectionManager.java:1195)HConnectionManager.java:898)HConnectionManager.java:797)HConnectionManager.java:772)HConnectionManager.java:1002)HConnectionManager.java:801)HConnectionManager.java:766)HTable.java:189)HTable.java:163)HBaseClient.java:17)java.net.ConnectException:
 Connection refused: no further informationNative 
Method)SocketChannelImpl.java:567)SocketIOWithTimeout.java:206)NetUtils.java:656)HBaseClient.java:328)HBaseClient.java:883)HBaseClient.java:750)HBaseRPC.java:257)HBaseRPC.java:419)HBaseRPC.java:393)HBaseRPC.java:444)HBaseRPC.java:349)
 
Thanks,
Sangeetha K


________________________________
From: Harsh J <ha...@cloudera.com>
To: sangeetha k <get2sa...@yahoo.com> 
Cc: "user@hbase.apache.org" <user@hbase.apache.org> 
Sent: Tuesday, January 24, 2012 7:05 PM
Subject: Re: hadoop and hbase mode

Mostly just means that your ZooKeeper's zoo.cfg, Hadoop's
core-site.xml/mapred-site.xml, and HBase's hbase-site.xml - must *not*
carry "localhost" (or anything that resolves to 127.0.0.1) in it
anywhere, but rather use a hostname that identifies it, and is
accessible by your client node.

On Tue, Jan 24, 2012 at 6:40 PM, sangeetha k <get2sa...@yahoo.com> wrote:
> Hi,
>
> what does this 'no server binding to localhost' means. Any configuration
> changes for this?
>
> Thanks,
> Sangeetha K
>
> From: Harsh J <ha...@cloudera.com>
> To: user@hbase.apache.org; sangeetha k <get2sa...@yahoo.com>
> Sent: Tuesday, January 24, 2012 5:31 PM
> Subject: Re: hadoop and hbase mode
>
> You need a distributed mode, with no server binding to localhost.
>
> On Tue, Jan 24, 2012 at 5:21 PM, sangeetha k <get2sa...@yahoo.com> wrote:
>> Hi,
>>
>> I wanted to setup Hadoop and Hbase in one remote server and Hbase client
>> running in another system.
>>
>> Please let me know which mode should the Hadoop and Hbase be running in
>> the remote server. Pseudo-distributed or distributed mode?
>>
>> Previously I had Hadoop, Hbase and hbase client all running in single
>> system. Now I wanted to move the Hadoop and Hbase to remote system and test
>> the client.
>>
>> Thanks,
>> Sangeetha K
>
>
>
> --
> Harsh J
> Customer Ops. Engineer, Cloudera
>
>



-- 
Harsh J
Customer Ops. Engineer, Cloudera

Reply via email to