Using HBase connection throws error

One Star

Using HBase connection throws error

Hi All,
I am using talend open studio for big data.When i try for HBase connection ,It successfully establishes connection to master but shows error connecting slaves.
Following is the error
12/09/20 13:43:09 INFO zookeeper.ZooKeeper: Initiating client connection, connectString=192.168.0.94:2222 sessionTimeout=180000 watcher=hconnection
12/09/20 13:43:09 INFO zookeeper.ClientCnxn: Opening socket connection to server /192.168.0.94:2222
12/09/20 13:43:09 INFO zookeeper.RecoverableZooKeeper: The identifier of this process is 3176@mymachine
12/09/20 13:43:14 INFO zookeeper.ClientCnxn: Socket connection established to 192.168.0.94/192.168.0.94:2222, initiating session
12/09/20 13:43:14 INFO zookeeper.ClientCnxn: Session establishment complete on server 192.168.0.94/192.168.0.94:2222, sessionid = 0x139e293773b000b, negotiated timeout = 180000
12/09/20 13:43:15 INFO ipc.HBaseRPC: Server at slave4/127.0.0.1:60020 could not be reached after 1 tries, giving up.
12/09/20 13:43:17 INFO ipc.HBaseRPC: Server at slave4/127.0.0.1:60020 could not be reached after 1 tries, giving up.
For master,it takes 192.168.0.94/192.168.0.94:2222 but for slaves its slave4/127.0.0.1:60020. I don't know why it takes 127.0.0.1 address and throws this error.Please help me if somebody knows its solution.
Thanks & Regards
Prabhjot
One Star

Re: Using HBase connection throws error

Add your master and slave IP address with port in the below given file in case of windows OS
C:\WINDOWS\system32\drivers\etc\hosts
Entry Illustration
----------------------
127.0.0.1 localhost
127.25.86:2500 masterhost_name
127.25.87:2500 slave1
127.25.88:2500 slave2
127.25.89:2500 slave3
Hope that helps.
--
Regards,
Vinod
One Star

Re: Using HBase connection throws error

Hey Vinod,

Thanks a lot.I was struggling hard to resolve this silly issue.
Thanks again.
Smiley Happy