You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2016/06/01 14:16:59 UTC

[jira] [Created] (HBASE-15932) Shell test fails due to uninitialized constant

Ted Yu created HBASE-15932:
------------------------------

             Summary: Shell test fails due to uninitialized constant
                 Key: HBASE-15932
                 URL: https://issues.apache.org/jira/browse/HBASE-15932
             Project: HBase
          Issue Type: Bug
    Affects Versions: 2.0.0
            Reporter: Ted Yu
            Assignee: Ted Yu
             Fix For: 2.0.0


In master branch, shell tests fail due to IN_MEMORY_COMPACTION not being found:
{code}
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)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)