We've seen a similar issue reported for Apache Whirr.

I suspect this is an environment issue. I think HBase is running with
a  different set on environment variables. You need to somehow make
sure that bash has the same env when running "hbase shell".

I hope this helps.

On Thu, Dec 15, 2011 at 5:22 AM, Aditya Kumar <[email protected]> wrote:
> HI all,
>
>
> I am able to install the hadoop/Hbase and was able to 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
>
>
>
> P.S: I initially posted to Hbase but later found that it is a zookeeper issue 
> so posting in zoo keeper mailing list

Reply via email to