hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ramya Sunil <ra...@hortonworks.com>
Subject Re: Hbase with Hadoop
Date Thu, 13 Oct 2011 17:34:04 GMT
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 <jigneshmpatel@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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message