You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Ben Lisbakken <li...@vmware.com> on 2012/07/09 19:28:42 UTC

Remotely connecting hbase shell

Hello --

I just wrote this message to the list:

"I have done some searching and some places say to use:
$HBASE_HOME/bin/hbase shell --master:hbase2:6000

and some say to use:
$HBASE_HOME/bin/hbase shell --conf "path/to/hbase-site.xml"

But both fail for me on saying:
LoadError: No such file to load -- --master:172.20.192.24:60000
    load at org/jruby/RubyKernel.java:1062
  (root) at /var/vcap/packages/hbase/bin/../bin/hirb.rb:151

I am using Cloud Era's HBase 0.90.6+84.29 (
https://ccp.cloudera.com/display/SUPPORT/CDH3+Downloadable+Tarballs).  Any
ideas what the correct way to setup a remote hbase shell is?"

I found the answer to my question: to configure the config files (such as
hbase-site) in hbase and then re-run hbase shell.  I hope this helps others.

Thanks,
Ben

Re: Remotely connecting hbase shell

Posted by Harsh J <ha...@cloudera.com>.
He probably means configuring $HBASE_HOME/conf and/or pointing
$HBASE_CONF_DIR locally to the right configs dir.

On Tue, Jul 10, 2012 at 12:06 AM, Stephen Boesch <ja...@gmail.com> wrote:
> Hi Ben,
>   Your self-discovered solution was not clear to me:
>
>>> to configure the config files (such as hbase-site) in hbase and then
> re-run hbase shell.
>
> Pls clarify what actions constitute:  "configure the config files in
> hbase":    Do you mean making certain changes to the local config files, or
> putting the files themselves in hbase ..?
>
> 2012/7/9 Ben Lisbakken <li...@vmware.com>
>
>> Hello --
>>
>> I just wrote this message to the list:
>>
>> "I have done some searching and some places say to use:
>> $HBASE_HOME/bin/hbase shell --master:hbase2:6000
>>
>> and some say to use:
>> $HBASE_HOME/bin/hbase shell --conf "path/to/hbase-site.xml"
>>
>> But both fail for me on saying:
>> LoadError: No such file to load -- --master:172.20.192.24:60000
>>     load at org/jruby/RubyKernel.java:1062
>>   (root) at /var/vcap/packages/hbase/bin/../bin/hirb.rb:151
>>
>> I am using Cloud Era's HBase 0.90.6+84.29 (
>> https://ccp.cloudera.com/display/SUPPORT/CDH3+Downloadable+Tarballs).  Any
>> ideas what the correct way to setup a remote hbase shell is?"
>>
>> I found the answer to my question: to configure the config files (such as
>> hbase-site) in hbase and then re-run hbase shell.  I hope this helps
>> others.
>>
>> Thanks,
>> Ben
>>



-- 
Harsh J

Re: Remotely connecting hbase shell

Posted by Stephen Boesch <ja...@gmail.com>.
Hi Ben,
  Your self-discovered solution was not clear to me:

>> to configure the config files (such as hbase-site) in hbase and then
re-run hbase shell.

Pls clarify what actions constitute:  "configure the config files in
hbase":    Do you mean making certain changes to the local config files, or
putting the files themselves in hbase ..?

2012/7/9 Ben Lisbakken <li...@vmware.com>

> Hello --
>
> I just wrote this message to the list:
>
> "I have done some searching and some places say to use:
> $HBASE_HOME/bin/hbase shell --master:hbase2:6000
>
> and some say to use:
> $HBASE_HOME/bin/hbase shell --conf "path/to/hbase-site.xml"
>
> But both fail for me on saying:
> LoadError: No such file to load -- --master:172.20.192.24:60000
>     load at org/jruby/RubyKernel.java:1062
>   (root) at /var/vcap/packages/hbase/bin/../bin/hirb.rb:151
>
> I am using Cloud Era's HBase 0.90.6+84.29 (
> https://ccp.cloudera.com/display/SUPPORT/CDH3+Downloadable+Tarballs).  Any
> ideas what the correct way to setup a remote hbase shell is?"
>
> I found the answer to my question: to configure the config files (such as
> hbase-site) in hbase and then re-run hbase shell.  I hope this helps
> others.
>
> Thanks,
> Ben
>