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

bin/hbase command doesn't seem to be working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Invalid
    • 0.95.2
    • None
    • None
    • None

    Description

      I noticed that commands like "bin/hbase shell" doesn't work. The exception trace is:

      bin/hbase shell
      Exception in thread "main" java.lang.NoClassDefFoundError: org/jruby/Main
      Caused by: java.lang.ClassNotFoundException: org.jruby.Main
      	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      

      This is a trunk build (mvn package -DskipTests=true) and then I am trying to run the bin/hbase command from the root directory. (Am I missing something?)

      Attachments

        Activity

          People

            Unassigned Unassigned
            ddas Devaraj Das
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: