Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
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
The above were due to certain types being moved so that we don't expose protobuf in API