You should specify all the ip address of regionservers in the host file on the remote system.Because the client need them to communicate with the region server which holds data of the table you wanted.
-----原始邮件----- 发件人: "Knowledge gatherer" <[email protected]> 发送时间: 2014/4/2 4:38 收件人: "[email protected]" <[email protected]> 主题: Re: Region Server IP in Host file > > Hi, > > When i am connecting hbase from a remote system, i m giving the > hbase configuration object - Hmaster, zookeeper ip and port number > (hostname of hmaster/zk is configured). Its not connecting. > > While creating the HTable object,the console hangs. > > But when i specify all the ip address of regionservers in the host file, > then the same code connects. > > My question is - "Do i need to specify all the IP address of region > servers in the hostfile? ". > > Please help me understand this. > > Regards, > > KG >
