Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> Hbase  with Hadoop


Copy link to this message
-
Re: Hbase with Hadoop
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 <[EMAIL PROTECTED]>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.
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB