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

Shell test fails due to uninitialized constant

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • None
    • None
    • Reviewed

    Description

      In master branch, shell tests fail due to IN_MEMORY_COMPACTION not being found:

      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 32.299 sec <<< FAILURE! - in org.apache.hadoop.hbase.client.rsgroup.TestShellRSGroups
      testRunShellTests(org.apache.hadoop.hbase.client.rsgroup.TestShellRSGroups)  Time elapsed: 0.069 sec  <<< ERROR!
      org.jruby.embed.EvalFailedException: (NameError) uninitialized constant Java::OrgApacheHadoopHbase::HConstants::IN_MEMORY_COMPACTION
      	at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:136)
      	at org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1263)
      	at org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1308)
      	at org.apache.hadoop.hbase.client.rsgroup.TestShellRSGroups.testRunShellTests(TestShellRSGroups.java:101)
      Caused by: org.jruby.exceptions.RaiseException: (NameError) uninitialized constant Java::OrgApacheHadoopHbase::HConstants::IN_MEMORY_COMPACTION
      	at org.jruby.RubyModule.const_missing(org/jruby/RubyModule.java:2647)
      	at Module.const_missing(file:/home/jenkins/yetus-m2/hbase-master-1/org/jruby/jruby-complete/1.6.8/jruby-complete-1.6.8.jar!/META-INF/jruby.home/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2503)
      	at Module.HBaseConstants(/home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/component/hbase-shell/src/main/ruby/hbase.rb:42)
      	at (Anonymous).(root)(/home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/component/hbase-shell/src/main/ruby/hbase.rb:34)
      	at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1062)
      	at Kernel.require(/home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/component/hbase-shell/src/main/ruby/hbase.rb:36)
      

      Attachments

        1. 15932.v1.txt
          1 kB
          Ted Yu

        Activity

          People

            yuzhihong@gmail.com Ted Yu
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: