ok --config worked but it is showing me same error. How to resolve this.

http://pastebin.com/UyRBA7vX

On Oct 13, 2011, at 1:34 PM, Ramya Sunil wrote:

> Hi Jignesh,
> 
> "--config" (i.e. - - config) is the option to use and not "-config".
> Alternatively you can also set HBASE_CONF_DIR.
> 
> Below is the exact command line:
> 
> $ hbase --config /home/ramya/hbase/conf shell
> hbase(main):001:0> create 'newtable','family'
> 0 row(s) in 0.5140 seconds
> 
> hbase(main):002:0> list 'newtable'
> TABLE
> newtable
> 1 row(s) in 0.0120 seconds
> 
> OR
> 
> $ export HBASE_CONF_DIR=/home/ramya/hbase/conf
> $ hbase shell
> 
> hbase(main):001:0> list 'newtable'
> TABLE
> 
> newtable
> 
> 1 row(s) in 0.3860 seconds
> 
> 
> Thanks
> Ramya
> 
> 
> On Thu, Oct 13, 2011 at 8:30 AM, jigneshmpatel <jigneshmpa...@gmail.com>wrote:
> 
>> There is no command like -config see below
>> 
>> Jignesh-MacBookPro:hadoop-hbase hadoop-user$ bin/hbase -config ./config
>> shell
>> Unrecognized option: -config
>> Could not create the Java virtual machine.
>> 
>> --
>> View this message in context:
>> http://lucene.472066.n3.nabble.com/Hbase-with-Hadoop-tp3413950p3418924.html
>> Sent from the Hadoop lucene-users mailing list archive at Nabble.com.
>> 

Reply via email to