You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Subrat Mishra (JIRA)" <ji...@apache.org> on 2018/09/11 08:09:00 UTC

[jira] [Created] (HBASE-21182) Failed to execute start-hbase.sh

Subrat Mishra created HBASE-21182:
-------------------------------------

             Summary: Failed to execute start-hbase.sh
                 Key: HBASE-21182
                 URL: https://issues.apache.org/jira/browse/HBASE-21182
             Project: HBase
          Issue Type: Bug
    Affects Versions: 3.0.0
            Reporter: Subrat Mishra


Built master branch like below:
{code:java}
mvn clean install -DskipTests{code}
Then tried to execute start-hbase.sh failed with NoClassDefFoundError
{code:java}
./bin/start-hbase.sh 
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/shaded/org/eclipse/jetty/server/Connector
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
at java.lang.Class.getMethod0(Class.java:3018)
at java.lang.Class.getMethod(Class.java:1784)
at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hbase.shaded.org.eclipse.jetty.server.Connector{code}
Note: It worked after reverting HBASE-21153



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)