Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-21182

Failed to execute start-hbase.sh

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha-1, 2.2.0, 2.1.1
    • 3.0.0-alpha-1, 2.2.0, 2.1.1
    • None
    • None

    Description

      Built master branch like below:

      mvn clean install -DskipTests

      Then tried to execute start-hbase.sh failed with NoClassDefFoundError

      ./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

      Note: It worked after reverting HBASE-21153

      Attachments

        1. HBASE-21182.master.002.patch
          0.9 kB
          Toshihiro Suzuki
        2. HBASE-21182.master.001.patch
          0.9 kB
          Toshihiro Suzuki

        Issue Links

          Activity

            People

              brfrn169 Toshihiro Suzuki
              subrat.mishra Subrat Mishra
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: