You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Bai Shen <ba...@gmail.com> on 2012/09/27 16:07:31 UTC

Region server not finding Zookeeper

I'm setting up HBase using CDH4.

https://ccp.cloudera.com/display/CDH4DOC/HBase+Installation#HBaseInstallation-DeployingHBaseinaDistributedCluster

I installed Zookeeper on my namenode, which is also my HBase master.
hbase-master now starts and runs.  My understanding from the above guide is
that I only need the one Zookeeper node running on the namenode.  However,
my region servers aren't seeing the Zookeeper server.

What am I missing?

Thanks.

Re: Region server not finding Zookeeper

Posted by Bai Shen <ba...@gmail.com>.
NM. Turned out that I had screwed up the property setting.  Everything is
working now.

Thanks.

On Thu, Sep 27, 2012 at 1:28 PM, Bai Shen <ba...@gmail.com> wrote:

> What property do I set in hbase-site.xml?  That's what I'm having trouble
> finding.
>
> Thanks.
>
>
> On Thu, Sep 27, 2012 at 10:30 AM, Mohammad Tariq <do...@gmail.com>wrote:
>
>> Hello Bai Shen,
>>
>>     It is not a compulsion to run ZK on the same machine where NN is
>> running. You can run it anywhere and if this is the case you have to
>> specify the location of you ZK node through the "hbase-site.xml" file.
>> Infact, in real world scenarios people create a separate ZK cluster and
>> avoid running ZK along with NN on the same machine.
>>
>> A possible reason of your problem could be that your RS is not able to
>> find
>> the location of your ZK node. Make sure you have done the configuration
>> properly.
>>
>> Regards,
>>     Mohammad Tariq
>>
>>
>>
>> On Thu, Sep 27, 2012 at 7:37 PM, Bai Shen <ba...@gmail.com>
>> wrote:
>>
>> > I'm setting up HBase using CDH4.
>> >
>> >
>> >
>> https://ccp.cloudera.com/display/CDH4DOC/HBase+Installation#HBaseInstallation-DeployingHBaseinaDistributedCluster
>> >
>> > I installed Zookeeper on my namenode, which is also my HBase master.
>> > hbase-master now starts and runs.  My understanding from the above
>> guide is
>> > that I only need the one Zookeeper node running on the namenode.
>>  However,
>> > my region servers aren't seeing the Zookeeper server.
>> >
>> > What am I missing?
>> >
>> > Thanks.
>> >
>>
>
>

Re: Region server not finding Zookeeper

Posted by Bai Shen <ba...@gmail.com>.
What property do I set in hbase-site.xml?  That's what I'm having trouble
finding.

Thanks.

On Thu, Sep 27, 2012 at 10:30 AM, Mohammad Tariq <do...@gmail.com> wrote:

> Hello Bai Shen,
>
>     It is not a compulsion to run ZK on the same machine where NN is
> running. You can run it anywhere and if this is the case you have to
> specify the location of you ZK node through the "hbase-site.xml" file.
> Infact, in real world scenarios people create a separate ZK cluster and
> avoid running ZK along with NN on the same machine.
>
> A possible reason of your problem could be that your RS is not able to find
> the location of your ZK node. Make sure you have done the configuration
> properly.
>
> Regards,
>     Mohammad Tariq
>
>
>
> On Thu, Sep 27, 2012 at 7:37 PM, Bai Shen <ba...@gmail.com> wrote:
>
> > I'm setting up HBase using CDH4.
> >
> >
> >
> https://ccp.cloudera.com/display/CDH4DOC/HBase+Installation#HBaseInstallation-DeployingHBaseinaDistributedCluster
> >
> > I installed Zookeeper on my namenode, which is also my HBase master.
> > hbase-master now starts and runs.  My understanding from the above guide
> is
> > that I only need the one Zookeeper node running on the namenode.
>  However,
> > my region servers aren't seeing the Zookeeper server.
> >
> > What am I missing?
> >
> > Thanks.
> >
>

Re: Region server not finding Zookeeper

Posted by Mohammad Tariq <do...@gmail.com>.
Hello Bai Shen,

    It is not a compulsion to run ZK on the same machine where NN is
running. You can run it anywhere and if this is the case you have to
specify the location of you ZK node through the "hbase-site.xml" file.
Infact, in real world scenarios people create a separate ZK cluster and
avoid running ZK along with NN on the same machine.

A possible reason of your problem could be that your RS is not able to find
the location of your ZK node. Make sure you have done the configuration
properly.

Regards,
    Mohammad Tariq



On Thu, Sep 27, 2012 at 7:37 PM, Bai Shen <ba...@gmail.com> wrote:

> I'm setting up HBase using CDH4.
>
>
> https://ccp.cloudera.com/display/CDH4DOC/HBase+Installation#HBaseInstallation-DeployingHBaseinaDistributedCluster
>
> I installed Zookeeper on my namenode, which is also my HBase master.
> hbase-master now starts and runs.  My understanding from the above guide is
> that I only need the one Zookeeper node running on the namenode.  However,
> my region servers aren't seeing the Zookeeper server.
>
> What am I missing?
>
> Thanks.
>