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
If you have simply downloaded and extracted HBase the same way I did
below, then it's not coming from HBase since it's working for everyone
else.

There might be something with your installation/configuration.

Do you have any HADOOP_CLASSPATH or HBASE_CLASSPATH  declared? Is so,
can you remove it and retry?

Also, can you try this command?

HADOOP_IN_PATH= $(PATH="${HADOOP_HOME:-${HADOOP_PREFIX}}/bin:$PATH"
which hadoop 2>/dev/null); echo $HADOOP_IN_PATH

The only place with GetJavaProperty is called is there:
HADOOP_JAVA_LIBRARY_PATH=$(HADOOP_CLASSPATH="$CLASSPATH"
${HADOOP_IN_PATH} org.apache.hadoop.hbase.util.GetJavaProperty
java.library.path 2>/dev/null)
and this is only called if the command above is not null.

So I guess he command above is not null for you, else your error
message will not be displayed.

Can you also echo $HADOOP_CLASSPATH and CLASSPATH?

Thanks,

JM

2013/6/3 zenbowman <[EMAIL PROTECTED]>:
> It's a packaged version, but I have no problems running HIVE and Hadoop
> locally using it.
>
>
>
> --
> 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-tp4045637p4045646.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