Can you try copying hbase-site.xml to other folder and change 
hbase.zookeeper.quorum to remote server and then use below command.

./hbase --config <other folder> shell

Then shell will start with the configurations in hbase-site.xml of new folder. 
I didnt try this, but it should help you.


Thanks,
Rajeshbabu.

________________________________________
From: Stephen Boesch [java...@gmail.com]
Sent: Monday, June 24, 2013 11:03 AM
To: user
Subject: How to specify the hbase.zookeeper.quorum on command line invoking 
hbase shell

We want to connect to a non-default / remote hbase server by setting
  hbase.zookeeper.quorum=our.remote.hbase.server
on the command line invocation of "hbase shell"  (and not disturbing the
existing hbase-env.sh or hbase-site.xml).   How to do this?  Thanks!

Reply via email to