hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashish Singhi (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-14419) Error: Could not find or load main class org.apache.hadoop.hbase.util.HBaseConfTool
Date Sat, 12 Sep 2015 15:39:45 GMT

     [ https://issues.apache.org/jira/browse/HBASE-14419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ashish Singhi resolved HBASE-14419.
-----------------------------------
    Resolution: Invalid

Please write in to user@hbase.apache.org to help troubleshooting issues.
Jira is for the project development tracker.

> Error: Could not find or load main class org.apache.hadoop.hbase.util.HBaseConfTool
> -----------------------------------------------------------------------------------
>
>                 Key: HBASE-14419
>                 URL: https://issues.apache.org/jira/browse/HBASE-14419
>             Project: HBase
>          Issue Type: Bug
>         Environment: centos7
>            Reporter: chenlong
>            Priority: Critical
>
> [root@localhost local]# ll
> lrwxrwxrwx.  1 root root   11 Sep 12 21:34 hbase -> hbase-1.1.2
> drwxr-xr-x. 30 root root 4096 Sep 12 21:34 hbase-1.1.2
> [root@localhost local]# ./hbase/bin/start-hbase.sh
> Error: Could not find or load main class org.apache.hadoop.hbase.util.HBaseConfTool
> Error: Could not find or load main class org.apache.hadoop.hbase.zookeeper.ZKServerTool
> starting master, logging to /usr/local/hbase/logs/hbase-root-master-localhost.out
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128m; support was
removed in 8.0
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support
was removed in 8.0
> Error: Could not find or load main class org.apache.hadoop.hbase.master.HMaster
> starting regionserver, logging to /usr/local/hbase/logs/hbase-root-1-regionserver-localhost.out
> Error: Could not find or load main class org.apache.hadoop.hbase.regionserver.HRegionServer
> why show this error ?
> It exist 。
> [root@localhost local]# find ./ -name HBaseConfTool.class
> ./hbase-1.1.2/hbase-server/target/classes/org/apache/hadoop/hbase/util/HBaseConfTool.class
> /etc/profle:
> export JAVA_HOME=/usr/local/jdk1.8.0_20
> export HBASE_HOME=/usr/local/hbase
> export PATH=$JAVA_HOME/bin:$HBASE_HOME/bin:$PATH
> export CLASSPATH=.:$JAVA_HOME/lib:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar:$HBASE_HOME/hbase-server/target/classes
> I add  $HBASE_HOME/hbase-server/target/classes, but it still not find class file。version
0.98xx has no this problem,why the version 1.1.2  so eggache? I am just a newer,geting
start follow official docs, but  can not run。I am so sad。。。sos。。。



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message