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/05/05 22:10:12 UTC
[jira] [Updated] (HBASE-15782) TestShell fails due to some moved
types
[ https://issues.apache.org/jira/browse/HBASE-15782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Yu updated HBASE-15782:
---------------------------
Attachment: 15782.v1.txt
With patch:
{code}
Running org.apache.hadoop.hbase.client.TestShell
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 209.582 sec - in org.apache.hadoop.hbase.client.TestShell
{code}
> TestShell fails due to some moved types
> ---------------------------------------
>
> Key: HBASE-15782
> URL: https://issues.apache.org/jira/browse/HBASE-15782
> Project: HBase
> Issue Type: Bug
> Reporter: Ted Yu
> Assignee: Ted Yu
> Attachments: 15782.v1.txt
>
>
> {code}
> 1) Error:
> test_compact_should_work(Hbase::AdminMethodsTest):
> NameError: uninitialized constant Java::OrgApacheHadoopHbaseClient::Admin::CompactType
> org/jruby/RubyModule.java:2647:in `const_missing'
> file:/home/hbase/.m2/repository/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:in `const_missing'
> /home/hbase/trunk/hbase-shell/src/main/ruby/hbase/admin.rb:71:in `compact'
> ./src/test/ruby/hbase/admin_test.rb:106:in `test_compact_should_work'
> org/jruby/RubyProc.java:270:in `call'
> org/jruby/RubyKernel.java:2105:in `send'
> org/jruby/RubyArray.java:1620:in `each'
> org/jruby/RubyArray.java:1620:in `each'
> 2) Error:
> test_major_compact_should_work(Hbase::AdminMethodsTest):
> NameError: uninitialized constant Java::OrgApacheHadoopHbaseClient::Admin::CompactType
> org/jruby/RubyModule.java:2647:in `const_missing'
> file:/home/hbase/.m2/repository/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:in `const_missing'
> /home/hbase/trunk/hbase-shell/src/main/ruby/hbase/admin.rb:99:in `major_compact'
> ./src/test/ruby/hbase/admin_test.rb:112:in `test_major_compact_should_work'
> org/jruby/RubyProc.java:270:in `call'
> org/jruby/RubyKernel.java:2105:in `send'
> org/jruby/RubyArray.java:1620:in `each'
> org/jruby/RubyArray.java:1620:in `each'
> 3) Error:
> test_Snapshot_should_work_when_SKIP_FLUSH_args(Hbase::AdminSnapshotTest):
> NameError: no method 'snapshot' for arguments (org.jruby.RubyString,org.apache.hadoop.hbase.TableName,org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription. Type) on Java::OrgApacheHadoopHbaseClient::HBaseAdmin
> /home/hbase/trunk/hbase-shell/src/main/ruby/hbase/admin.rb:957:in `snapshot'
> org/jruby/RubyArray.java:1620:in `each'
> /home/hbase/trunk/hbase-shell/src/main/ruby/hbase/admin.rb:955:in `snapshot'
> ./src/test/ruby/hbase/admin_test.rb:450:in `test_Snapshot_should_work_when_SKIP_FLUSH_args'
> org/jruby/RubyProc.java:270:in `call'
> org/jruby/RubyKernel.java:2105:in `send'
> org/jruby/RubyArray.java:1620:in `each'
> org/jruby/RubyArray.java:1620:in `each'
> 382 tests, 537 assertions, 0 failures, 3 errors
> {code}
> The above were due to certain types being moved so that we don't expose protobuf in API
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)