If you have the separate conf files in their own directories , You can run
a script to set HBASE_CONF_DIR and HADOOP_CONF_DIR. Then just run hbase
shell
On Jun 24, 2013 10:21 AM, "rajeshbabu chintaguntla" <
[email protected]> wrote:

>
> --config <conf dir> arguments of a command will be parsed by
> hbase-config.sh which is imported in hbase script.
> It will work.
> {code}
> . "$bin"/hbase-config.sh
> {code}
>
>
> Thanks,
> Rajeshbabu
> ________________________________________
> From: Shahab Yunus [[email protected]]
> Sent: Monday, June 24, 2013 7:41 PM
> To: [email protected]
> Subject: Re: How to specify the hbase.zookeeper.quorum on command line
> invoking hbase shell
>
> 'hbase' does not seem to have --config/-config parameter.
>
> Regards,
> Shahab
>
>
> On Mon, Jun 24, 2013 at 8:39 AM, rajeshbabu chintaguntla <
> [email protected]> wrote:
>
> > 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 [[email protected]]
> > 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