You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Shuja Rehman <sh...@gmail.com> on 2010/08/27 11:49:56 UTC
FATAL zookeeper.HQuorumPeer: The server in zoo.cfg cannot be set to
localhost in a fully-distributed setup because it won't be reachable. See
"Getting Started" for more information.
hi i was wondering if someone could help me with an hbase setup. i have a
cluster of 2 machines and I get this error when creating a table
FATAL zookeeper.HQuorumPeer: The server in zoo.cfg cannot be set to
localhost in a fully-distributed setup because it won't be reachable. See
"Getting Started" for more information.
The table is still created with the above error. I have set up
hbase-site.xml in in master and region server with no reference to
localhost. Here is settings of hbase-site.xml.
<configuration>
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
<property>
<name>hbase.rootdir</name>
<value>hdfs://hadoop.server1.com:8020/hbase</value>
</property>
<property>
<name>hbase.zookeeper.quorum</name>
<value>hadoop.server1.com</value>
</property>
</configuration>
Any clue???
--
Regards
Shuja-ur-Rehman Baig
http://pk.linkedin.com/in/shujamughal
Cell: +92 3214207445
Re: FATAL zookeeper.HQuorumPeer: The server in zoo.cfg cannot be set
to localhost in a fully-distributed setup because it won't be reachable. See
"Getting Started" for more information.
Posted by Shuja Rehman <sh...@gmail.com>.
Thanks.
On Fri, Aug 27, 2010 at 10:38 PM, Jean-Daniel Cryans <jd...@apache.org>wrote:
> Somewhere in /etc, but you can simply issue a "ps aux | grep java" and
> see what the classpath looks like and figure why it's taking the
> zookeeper config that's shipped separately in CDH.
>
> You can also post that question on their getsatisfaction page since
> it's cloudera specifc, and unrelated to how Apache HBase is shipped.
> It's not the first time I see a CDH3 user with this issue.
>
> J-D
>
> On Fri, Aug 27, 2010 at 10:30 AM, Shuja Rehman <sh...@gmail.com>
> wrote:
> > Hi
> > I am using Cloudera Latest Distribution. Can u let me where this file
> could
> > be?
> >
> > Thanks
> >
> > On Fri, Aug 27, 2010 at 8:23 PM, Jean-Daniel Cryans <jdcryans@apache.org
> >wrote:
> >
> >> It means that there's a zoo.cfg file somewhere on HBase's classpath
> >> and that it doesn't contain the right configs (it takes precedence
> >> over the xml configurations). Simply remove the file or remove it from
> >> the classpath.
> >>
> >> BTW which version are you using?
> >>
> >> J-D
> >>
> >> On Fri, Aug 27, 2010 at 2:49 AM, Shuja Rehman <sh...@gmail.com>
> >> wrote:
> >> > hi i was wondering if someone could help me with an hbase setup. i
> have a
> >> > cluster of 2 machines and I get this error when creating a table
> >> >
> >> > FATAL zookeeper.HQuorumPeer: The server in zoo.cfg cannot be set to
> >> > localhost in a fully-distributed setup because it won't be reachable.
> See
> >> > "Getting Started" for more information.
> >> >
> >> > The table is still created with the above error. I have set up
> >> > hbase-site.xml in in master and region server with no reference to
> >> > localhost. Here is settings of hbase-site.xml.
> >> >
> >> > <configuration>
> >> > <property>
> >> > <name>hbase.cluster.distributed</name>
> >> > <value>true</value>
> >> > </property>
> >> > <property>
> >> > <name>hbase.rootdir</name>
> >> > <value>hdfs://hadoop.server1.com:8020/hbase</value>
> >> > </property>
> >> > <property>
> >> > <name>hbase.zookeeper.quorum</name>
> >> > <value>hadoop.server1.com</value>
> >> > </property>
> >> > </configuration>
> >> >
> >> > Any clue???
> >> >
> >> > --
> >> > Regards
> >> > Shuja-ur-Rehman Baig
> >> > http://pk.linkedin.com/in/shujamughal
> >> > Cell: +92 3214207445
> >> >
> >>
> >
> >
> >
> > --
> > Regards
> > Shuja-ur-Rehman Baig
> > http://pk.linkedin.com/in/shujamughal
> > Cell: +92 3214207445
> >
>
--
Regards
Shuja-ur-Rehman Baig
http://pk.linkedin.com/in/shujamughal
Cell: +92 3214207445
Re: FATAL zookeeper.HQuorumPeer: The server in zoo.cfg cannot be set
to localhost in a fully-distributed setup because it won't be reachable. See
"Getting Started" for more information.
Posted by Jean-Daniel Cryans <jd...@apache.org>.
Somewhere in /etc, but you can simply issue a "ps aux | grep java" and
see what the classpath looks like and figure why it's taking the
zookeeper config that's shipped separately in CDH.
You can also post that question on their getsatisfaction page since
it's cloudera specifc, and unrelated to how Apache HBase is shipped.
It's not the first time I see a CDH3 user with this issue.
J-D
On Fri, Aug 27, 2010 at 10:30 AM, Shuja Rehman <sh...@gmail.com> wrote:
> Hi
> I am using Cloudera Latest Distribution. Can u let me where this file could
> be?
>
> Thanks
>
> On Fri, Aug 27, 2010 at 8:23 PM, Jean-Daniel Cryans <jd...@apache.org>wrote:
>
>> It means that there's a zoo.cfg file somewhere on HBase's classpath
>> and that it doesn't contain the right configs (it takes precedence
>> over the xml configurations). Simply remove the file or remove it from
>> the classpath.
>>
>> BTW which version are you using?
>>
>> J-D
>>
>> On Fri, Aug 27, 2010 at 2:49 AM, Shuja Rehman <sh...@gmail.com>
>> wrote:
>> > hi i was wondering if someone could help me with an hbase setup. i have a
>> > cluster of 2 machines and I get this error when creating a table
>> >
>> > FATAL zookeeper.HQuorumPeer: The server in zoo.cfg cannot be set to
>> > localhost in a fully-distributed setup because it won't be reachable. See
>> > "Getting Started" for more information.
>> >
>> > The table is still created with the above error. I have set up
>> > hbase-site.xml in in master and region server with no reference to
>> > localhost. Here is settings of hbase-site.xml.
>> >
>> > <configuration>
>> > <property>
>> > <name>hbase.cluster.distributed</name>
>> > <value>true</value>
>> > </property>
>> > <property>
>> > <name>hbase.rootdir</name>
>> > <value>hdfs://hadoop.server1.com:8020/hbase</value>
>> > </property>
>> > <property>
>> > <name>hbase.zookeeper.quorum</name>
>> > <value>hadoop.server1.com</value>
>> > </property>
>> > </configuration>
>> >
>> > Any clue???
>> >
>> > --
>> > Regards
>> > Shuja-ur-Rehman Baig
>> > http://pk.linkedin.com/in/shujamughal
>> > Cell: +92 3214207445
>> >
>>
>
>
>
> --
> Regards
> Shuja-ur-Rehman Baig
> http://pk.linkedin.com/in/shujamughal
> Cell: +92 3214207445
>
Re: FATAL zookeeper.HQuorumPeer: The server in zoo.cfg cannot be set
to localhost in a fully-distributed setup because it won't be reachable. See
"Getting Started" for more information.
Posted by Shuja Rehman <sh...@gmail.com>.
Hi
I am using Cloudera Latest Distribution. Can u let me where this file could
be?
Thanks
On Fri, Aug 27, 2010 at 8:23 PM, Jean-Daniel Cryans <jd...@apache.org>wrote:
> It means that there's a zoo.cfg file somewhere on HBase's classpath
> and that it doesn't contain the right configs (it takes precedence
> over the xml configurations). Simply remove the file or remove it from
> the classpath.
>
> BTW which version are you using?
>
> J-D
>
> On Fri, Aug 27, 2010 at 2:49 AM, Shuja Rehman <sh...@gmail.com>
> wrote:
> > hi i was wondering if someone could help me with an hbase setup. i have a
> > cluster of 2 machines and I get this error when creating a table
> >
> > FATAL zookeeper.HQuorumPeer: The server in zoo.cfg cannot be set to
> > localhost in a fully-distributed setup because it won't be reachable. See
> > "Getting Started" for more information.
> >
> > The table is still created with the above error. I have set up
> > hbase-site.xml in in master and region server with no reference to
> > localhost. Here is settings of hbase-site.xml.
> >
> > <configuration>
> > <property>
> > <name>hbase.cluster.distributed</name>
> > <value>true</value>
> > </property>
> > <property>
> > <name>hbase.rootdir</name>
> > <value>hdfs://hadoop.server1.com:8020/hbase</value>
> > </property>
> > <property>
> > <name>hbase.zookeeper.quorum</name>
> > <value>hadoop.server1.com</value>
> > </property>
> > </configuration>
> >
> > Any clue???
> >
> > --
> > Regards
> > Shuja-ur-Rehman Baig
> > http://pk.linkedin.com/in/shujamughal
> > Cell: +92 3214207445
> >
>
--
Regards
Shuja-ur-Rehman Baig
http://pk.linkedin.com/in/shujamughal
Cell: +92 3214207445
Re: FATAL zookeeper.HQuorumPeer: The server in zoo.cfg cannot be set
to localhost in a fully-distributed setup because it won't be reachable. See
"Getting Started" for more information.
Posted by Jean-Daniel Cryans <jd...@apache.org>.
It means that there's a zoo.cfg file somewhere on HBase's classpath
and that it doesn't contain the right configs (it takes precedence
over the xml configurations). Simply remove the file or remove it from
the classpath.
BTW which version are you using?
J-D
On Fri, Aug 27, 2010 at 2:49 AM, Shuja Rehman <sh...@gmail.com> wrote:
> hi i was wondering if someone could help me with an hbase setup. i have a
> cluster of 2 machines and I get this error when creating a table
>
> FATAL zookeeper.HQuorumPeer: The server in zoo.cfg cannot be set to
> localhost in a fully-distributed setup because it won't be reachable. See
> "Getting Started" for more information.
>
> The table is still created with the above error. I have set up
> hbase-site.xml in in master and region server with no reference to
> localhost. Here is settings of hbase-site.xml.
>
> <configuration>
> <property>
> <name>hbase.cluster.distributed</name>
> <value>true</value>
> </property>
> <property>
> <name>hbase.rootdir</name>
> <value>hdfs://hadoop.server1.com:8020/hbase</value>
> </property>
> <property>
> <name>hbase.zookeeper.quorum</name>
> <value>hadoop.server1.com</value>
> </property>
> </configuration>
>
> Any clue???
>
> --
> Regards
> Shuja-ur-Rehman Baig
> http://pk.linkedin.com/in/shujamughal
> Cell: +92 3214207445
>