You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by iwannaplay games <fu...@gmail.com> on 2012/09/20 10:34:44 UTC

HBase not connection from talend

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

Re: HBase not connection from talend

Posted by Peter Zhang <ha...@gmail.com>.
when you access HBase Cluster, you must config windows hosts file that same with *nix's /etc/hosts.  

windows hosts file location:C:\Windows\system32\driver\etc\hosts



--  
Peter Zhang
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)


On 2012年9月21日Friday at 下午3:19, iwannaplay games wrote:

> It happened.Actually i installed talend on windows and was accesing
> hadoop cluster but didnt mention ip addresses of master n slaves in
> windows hosts
> Just added in /etc/hosts
> master n slaves configuration
>  
> On 9/20/12, Jean-Daniel Cryans <jdcryans@apache.org (mailto:jdcryans@apache.org)> wrote:
> > It's gonna be something along the lines of some machine is not
> > resolving it's address correctly or that machine is not resolving
> > "slave4" correctly.
> >  
> > J-D
> >  
> > On Thu, Sep 20, 2012 at 1:34 AM, iwannaplay games
> > <funnlearnforkids@gmail.com (mailto:funnlearnforkids@gmail.com)> wrote:
> > > 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
> > >  
> >  
> >  
>  
>  
>  



Re: HBase not connection from talend

Posted by iwannaplay games <fu...@gmail.com>.
It happened.Actually i installed talend on windows and was accesing
hadoop cluster but didnt mention ip addresses of master n slaves in
windows hosts
Just added in /etc/hosts
master n slaves configuration

On 9/20/12, Jean-Daniel Cryans <jd...@apache.org> wrote:
> It's gonna be something along the lines of some machine is not
> resolving it's address correctly or that machine is not resolving
> "slave4" correctly.
>
> J-D
>
> On Thu, Sep 20, 2012 at 1:34 AM, iwannaplay games
> <fu...@gmail.com> wrote:
>> 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
>

Re: HBase not connection from talend

Posted by Jean-Daniel Cryans <jd...@apache.org>.
It's gonna be something along the lines of some machine is not
resolving it's address correctly or that machine is not resolving
"slave4" correctly.

J-D

On Thu, Sep 20, 2012 at 1:34 AM, iwannaplay games
<fu...@gmail.com> wrote:
> 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