hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Onur AKTAS <onur.ak...@live.com>
Subject RE: Connection failure to HBase
Date Mon, 03 Aug 2009 13:27:24 GMT

No, this is what after I changed.

I was using like below, but it was not working. It was giving an exception like "INFO: Retrying
connect to server: localhost/127.0.0.1:60000. Already tried"
<property>
    <name>hbase.rootdir</name>
    <value>hdfs://localhost:9000/hbase</value>
    <description>The directory shared by region servers.
    </description>
</property>


> Date: Mon, 3 Aug 2009 08:36:09 -0400
> Subject: Re: Connection failure to HBase
> From: jdcryans@apache.org
> To: hbase-user@hadoop.apache.org
> 
> If this is all of your hbase-site.xml, you're not using Hadoop at all.
> Please review the Pseudo-distributed documentation for HBase.
> 
> J-D
> 
> 2009/8/3 Onur AKTAS <onur.aktas@live.com>:
> >
> > I have changed hbase-site.xml as below, and it now works (in Local mode). Its something
about Hadoop maybe?
> >
> > <configuration>
> >  <property>
> >    <name>hbase.master</name>
> >    <value>localhost:60000</value>
> >    <description>The directory shared by region servers.
> >    </description>
> >  </property>
> >  <property>
> >    <name>hbase.regionserver</name>
> >    <value>localhost:60020</value>
> >  </property>
> > </configuration>
> >
> >
> >> Date: Sun, 2 Aug 2009 19:25:16 -0700
> >> Subject: Re: Connection failure to HBase
> >> From: vpuranik@gmail.com
> >> To: hbase-user@hadoop.apache.org
> >>
> >> You can set hbase.master property on the configuration object:
> >>
> >> config.set("hbase.master", "localhost:9000");
> >>
> >> Regards,
> >> Vaibhav
> >>
> >> 2009/8/2 Onur AKTAS <onur.aktas@live.com>
> >>
> >> >
> >> > Hi,
> >> >
> >> > I have just installed Hadoop 19.3 (pseudo distributed mode) and Hbase 19.2
> >> > by following the instructions.
> >> > Both of them starts fine.
> >> >
> >> > Hadoop Log:
> >> > $ bin/start-all.sh
> >> > starting namenode, logging to
> >> > /hda3/ps/hadoop-0.19.2/bin/../logs/hadoop-oracle-namenode-localhost.localdomain.out
> >> > localhost: starting datanode, logging to
> >> > /hda3/ps/hadoop-0.19.2/bin/../logs/hadoop-oracle-datanode-localhost.localdomain.out
> >> > ....
> >> >
> >> > HBase Log:
> >> > $ bin/start-hbase.sh
> >> > starting master, logging to
> >> > /hda3/ps/hbase-0.19.3/bin/../logs/hbase-oracle-master-localhost.localdomain.out
> >> > localhost:
> >> > starting regionserver, logging to
> >> >
> >> > /hda3/ps/hbase-0.19.3/bin/../logs/hbase-oracle-regionserver-localhost.localdomain.out
> >> >
> >> > When I try to connect HBase from a client, it gives an error as:
> >> >
> >> > Aug 3, 2009 3:35:04 AM org.apache.hadoop.hbase.ipc.HBaseClient$Connection
> >> > handleConnectionFailure
> >> > INFO: Retrying connect to server: localhost/127.0.0.1:60000. Already tried
> >> > 0 time
> >> >  (s).
> >> > Aug 3, 2009 3:35:05 AM org.apache.hadoop.hbase.ipc.HBaseClient$Connection
> >> > handleConnectionFailure
> >> > INFO: Retrying connect to server: localhost/127.0.0.1:60000. Already tried
> >> > 1 time(s).
> >> >
> >> > I
> >> > have configured sites.xml etc as "localhost:9000", How can I change
> >> > that 60000 port in client? I use like below in my Java class.
> >> > HBaseConfiguration config = new HBaseConfiguration();
> >> >
> >> > Thanks.
> >> >
> >> > _________________________________________________________________
> >> > Teker teker mi, yoksa hepsi birden mi? Arkadaşlarınızla ilgili güncel
> >> > bilgileri tek bir yerden edinin.
> >> >
> >> > http://www.microsoft.com/turkiye/windows/windowslive/products/social-network-connector.aspx
> >
> > _________________________________________________________________
> > Windows Live ile fotoğraflarınızı organize edebilir, düzenleyebilir ve paylaşabilirsiniz.
> > http://www.microsoft.com/turkiye/windows/windowslive/products/photo-gallery-edit.aspx

_________________________________________________________________
Windows Live tüm arkadaşlarınızla tek bir yerden iletişim kurmanıza yardımcı olur.
http://www.microsoft.com/turkiye/windows/windowslive/products/social-network-connector.aspx
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message