It should only be a matter of network configuration and not a matter
of whether you are a Hadoop expert or not. HBase is just trying to get
the machine's hostname and bind to it and in your case it's given
something it cannot use. It's unfortunate.

IIUC your machine is hosted on cox.net? And it seems that while
providing that machine they at some point set it up so that its
hostname would resolve to a public address. Sounds like a
misconfiguration. Anyways, you can edit your /etc/hosts so that your
hostname points to 127.0.0.1 or, since you are using 0.94.7, set both
hbase.master.ipc.address and hbase.regionserver.ipc.address to 0.0.0.0
in your hbase-site.xml so that it binds on the wildcard address
instead.

J-D

On Thu, May 23, 2013 at 4:07 PM, Yves S. Garret
<yoursurrogate...@gmail.com> wrote:
> How weird.  Admittedly I'm not terribly knowledgeable about Hadoop
> and all of its sub-projects, but I don't recall ever setting any networking
> info to something other than localhost.  What would cause this?
>
>
> On Thu, May 23, 2013 at 6:26 PM, Jean-Daniel Cryans 
> <jdcry...@apache.org>wrote:
>
>> That's your problem:
>>
>> Caused by: java.net.BindException: Problem binding to
>> ip72-215-225-9.at.at.cox.net/72.215.225.9:0 : Cannot assign requested
>> address
>>
>> Either it's a public address and you can't bind to it or someone else
>> is using it.
>>
>> J-D
>>
>> On Thu, May 23, 2013 at 3:24 PM, Yves S. Garret
>> <yoursurrogate...@gmail.com> wrote:
>> > Here is my dump of the sole log file in the logs directory:
>> > http://bin.cakephp.org/view/2116332048
>> >
>> >
>> > On Thu, May 23, 2013 at 6:20 PM, Jean-Daniel Cryans <jdcry...@apache.org
>> >wrote:
>> >
>> >> On Thu, May 23, 2013 at 2:50 PM, Jay Vyas <jayunit...@gmail.com> wrote:
>> >> > 1) Should hbase-master be changed to localhost?
>> >> >
>> >> > Maybe Try changing /etc/hosts to match the actual non loopback ip of
>> >> your machine... (i.e. just run Ifconfig | grep 1 and see what ip comes
>> out
>> >> :))
>> >> >  and make sure your /etc/hosts matches the file in my blog post, (you
>> >> need hbase-master to be defined in your /etc/hosts...).
>> >>
>> >> hbase.master was dropped around 2009 now that we have zookeeper. So
>> >> you can set it to whatever you want, it won't change anything :)
>> >>
>> >> >
>> >> > 2) zookeeper parent seems bad..
>> >> >
>> >> > Change hbase-rootdir to "hbase" (in hbase.rootdir) so that it's
>> >> consistent with what you defined in zookeeper parent node.
>> >>
>> >> Those two are really unrelated, /hbase is the default so no need to
>> >> override it, and I'm guessing that hbase.rootdir is somewhere writable
>> >> so that's all good.
>> >>
>> >> Now, regarding the "Check the value configured in
>> >> 'zookeeper.znode.parent", it's triggered when the client wants to read
>> >> the /hbase znode in ZooKeeper but it's unable to. If it doesn't exist,
>> >> it might be because your HBase is homed elsewhere. It could also be
>> >> that HBase isn't running at all so the Master never got to create it.
>> >>
>> >> BTW you can start the shell with -d and it's gonna give more info and
>> >> dump all the stack traces.
>> >>
>> >> Going by this thread I would guess that HBase isn't running so the
>> >> shell won't help. Another way to check is pointing your browser to
>> >> localhost:60010 and see if the master is responding. If not, time to
>> >> open up the log and see what's up.
>> >>
>> >> J-D
>> >>
>>

Reply via email to