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

Add commons-lang3 dependency to HBCK2

    XMLWordPrintableJSON

    Details

      Description

      HBCK2 does not work with HBase 2.2.0 release because commons-lang3 is not on HBase's classpath.

      14:32:36.163 [main] INFO  org.apache.hadoop.hbase.client.ConnectionImplementation - Closing master protocol: MasterService
      Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils
          at org.apache.hbase.Version.getVersionComponents(Version.java:97)
          at org.apache.hbase.Version.check(Version.java:47)
          at org.apache.hbase.HBCK2.checkHBCKSupport(HBCK2.java:130)
          at org.apache.hbase.HBCK2.doCommandLine(HBCK2.java:700)
          at org.apache.hbase.HBCK2.run(HBCK2.java:631)
          at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
          at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:90)
          at org.apache.hbase.HBCK2.main(HBCK2.java:865)
      Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang3.StringUtils
          at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
          at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
          ... 8 more 

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                psomogyi Peter Somogyi
                Reporter:
                wchevreuil Wellington Chevreuil
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: