Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # user - Remotely connecting hbase shell


Copy link to this message
-
Re: Remotely connecting hbase shell
Harsh J 2012-07-09, 18:54
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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
>
>> 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