hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Daniel Cryans <jdcry...@apache.org>
Subject Re: HBase accessing Tables
Date Thu, 15 Dec 2011 18:34:07 GMT
Per the error message:

11/12/14 18:49:57 FATAL zookeeper.ZKConfig: 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.

You are running with hbase.cluster.distributed set to true but
hbase.zookeeper.quorum was kept to the default value of localhost, you
need to fix this.

J-D

On Wed, Dec 14, 2011 at 7:07 PM, Aditya Kumar <adityakumar345@yahoo.com> wrote:
> HI all,
>
> Atlast I am able to install the hadoop/Hbase and was ableto create some tables.
>
> when I login to http://10.10.20.1:60010/master.jsp
> I am able to see all the tables I have created. b(from webpage)
>
> But when I try to see from HBASE shell noting is happening.
>
> ===
> hbase(main):021:0* list
>
> TABLE
> 11/12/14 18:49:57 FATAL zookeeper.ZKConfig: 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.
>
> ERROR: org.apache.hadoop.hbase.ZooKeeperConnectionException: org.apache.hadoop.hbase.ZooKeeperConnectionException:
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss
for /hbase
>
> Here is some help for this command:
> List all tables in hbase. Optional regular expression parameter could
> be used to filter the output. Examples:
> ==
>
> how can I see the list of tables?
> how to fix the Issue I am having?
>
> Can you please guide me.
>
> -Adi
> --2120775178-2132875201-1323918267=:17723
> Content-Type: text/html; charset=us-ascii
>
> <html><body><div style="color:#000; background-color:#fff; font-family:times
new roman, new york, times, serif;font-size:12pt"><div><div style="padding-top:
0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 8px; margin-right:
0px; margin-bottom: 0px; margin-left: 12px; font-family: arial, helvetica, sans-serif; "><div
style="font-size: 13px; ">HI all,</div><div style="font-size: 13px; "><br></div><div
style="font-size: 13px; ">Atlast I am able to install the hadoop/Hbase and was ableto create
some tables.</div><div style="font-size: 13px; "><br></div><div
style="font-size: 13px; ">when I login to http://10.10.20.1:60010/master.jsp</div><div
style="font-size: 13px; ">I am able to see all the tables I have created. b(from webpage)</div><div
style="font-size: 13px; "><br></div><div style="font-size: 13px; ">But
when I try to see from HBASE shell noting is happening.</div><div style="font-size:
13px; "><br></div><div
> style="font-size: 13px; ">===</div><div style="font-size: 13px; ">hbase(main):021:0*
list<br></div><div><div><font class="Apple-style-span" size="2">TABLE</font></div><div><font
class="Apple-style-span" size="2">11/12/14 18:49:57 FATAL zookeeper.ZKConfig: 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.</font></div><div><font class="Apple-style-span"
size="2"><br></font></div><div><font class="Apple-style-span"
size="2">ERROR: org.apache.hadoop.hbase.ZooKeeperConnectionException: org.apache.hadoop.hbase.ZooKeeperConnectionException:
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss
for /hbase</font></div><div><font class="Apple-style-span" size="2"><br></font></div><div><font
class="Apple-style-span" size="2">Here is some help for this command:</font></div><div><font
class="Apple-style-span" size="2">List
> all tables in hbase. Optional regular expression parameter could</font></div><div><font
class="Apple-style-span" size="2">be used to filter the output. Examples:</font></div><div><font
class="Apple-style-span" size="2">==</font></div><div><font class="Apple-style-span"
size="2"><br></font></div><div><font class="Apple-style-span"
size="2">how can I see the list of tables?</font></div><div style="font-size:
13px; ">how to fix the Issue I am having?</div><div style="font-size: 13px; "><br></div><div
style="font-size: 13px; ">Can you please guide me.</div><div style="font-size:
13px; "><br></div><div style="font-size: 13px; ">-Adi</div></div></div></div>
</div></body></html>
> --2120775178-2132875201-1323918267=:17723--

Mime
View raw message