hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Marc Spaggiari <jean-m...@spaggiari.org>
Subject Re: Error: Could not find or load main class org.apache.hadoop.hbase.util.GetJavaProperty
Date Mon, 03 Jun 2013 17:47:13 GMT
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
--2013-06-03 13:41:30--
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 <PrasanSamtani@gmail.com>:
> 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.

Mime
View raw message