Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

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
Labels (2)
2 Replies
Anonymous
Not applicable

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
_AnonymousUser
Specialist III
Specialist III
Author

Hey Vinod,

Thanks a lot.I was struggling hard to resolve this silly issue.
Thanks again.
0683p000009MACn.png