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
HBase >> mail # user >> Error: Could not find or load main class org.apache.hadoop.hbase.util.GetJavaProperty


Copy link to this message
-
Re: Error: Could not find or load main class org.apache.hadoop.hbase.util.GetJavaProperty
There is something wrong with your configuration.

Here is what I get on my side:

#:~/foo$ wget http://apache.mirror.rafal.ca/hbase/hbase-0.94.8/hbase-0.94.8.tar.gz
http://apache.mirror.rafal.ca/hbase/hbase-0.94.8/hbase-0.94.8.tar.gz
Resolving apache.mirror.rafal.ca (apache.mirror.rafal.ca)...
207.210.46.249, 2001:470:1d:3c0:216:3eff:fe3f:746a
Connecting to apache.mirror.rafal.ca
(apache.mirror.rafal.ca)|207.210.46.249|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 57691943 (55M) [application/x-gzip]
Saving to: `hbase-0.94.8.tar.gz'

100%[=>] 57,691,943  2.11M/s   in 35s

2013-06-03 13:42:06 (1.55 MB/s) - `hbase-0.94.8.tar.gz' saved
[57691943/57691943]

#:~/foo$ tar -xzf hbase-0.94.8.tar.gz
#:~/foo$ cd hbase-0.94.8/
#:~/foo/hbase-0.94.8$ export JAVA_HOME=/usr/local/jdk1.6.0_45/
#:~/foo/hbase-0.94.8$ bin/start-hbase.sh
starting master, logging to
/home/jmspaggiari/foo/hbase-0.94.8/bin/../logs/hbase-jmspaggiari-master-cloudera.out
#:~/foo/hbase-0.94.8$ echo version | bin/hbase shell
HBase Shell; enter 'help<RETURN>' for list of supported commands.
Type "exit<RETURN>" to leave the HBase Shell
Version 0.94.8, r1485407, Wed May 22 20:53:13 UTC 2013

version
0.94.8, r1485407, Wed May 22 20:53:13 UTC 2013
What's the result of echo $JAVA_HOME on you system? Also are you
running open JDK? Or Oracle JDK?

JM

2013/6/3 zenbowman <[EMAIL PROTECTED]>:
> Still the same, thanks for your help though
>
>
>
> --
> View this message in context: http://apache-hbase.679495.n3.nabble.com/Error-Could-not-find-or-load-main-class-org-apache-hadoop-hbase-util-GetJavaProperty-tp4045637p4045641.html
> Sent from the HBase User 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