You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by 刘磊 <zl...@gmail.com> on 2014/04/02 14:26:57 UTC

答复: Region Server IP in Host file

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" <kn...@gmail.com>
发送时间: ‎2014/‎4/‎2 4:38
收件人: "user@hbase.apache.org" <us...@hbase.apache.org>
主题: 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
>

Re: 答复: Region Server IP in Host file

Posted by Knowledge gatherer <kn...@gmail.com>.
This is where i was coming to.Then I am wondering, it will be a security
threat, as i have to expose all the region server IP's to the remote system
from where i will be connecting the Hbase tables.

Regards,
KG


On Wed, Apr 2, 2014 at 5:56 PM, 刘磊 <zl...@gmail.com> wrote:

> 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" <kn...@gmail.com>
> 发送时间: 2014/4/2 4:38
> 收件人: "user@hbase.apache.org" <us...@hbase.apache.org>
> 主题: 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
> >
>