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

Shell test fails due to rLoadSink being nil

    XMLWordPrintableJSON

Details

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

    Description

      Running TestShell ended up with the following on master branch:

        1) Error:
      test_Get_replication_sink_metrics_information(Hbase::AdminAlterTableTest):
      NoMethodError: undefined method `getAgeOfLastAppliedOp' for nil:NilClass
          /home/hbase/trunk/hbase-shell/src/main/ruby/hbase/admin.rb:725:in `status'
          file:/home/hbase/.m2/repository/org/jruby/jruby-complete/1.6.8/jruby-complete-1.6.8.jar!/builtin/java/java.util.rb:7:in `each'
          /home/hbase/trunk/hbase-shell/src/main/ruby/hbase/admin.rb:720:in `status'
          /home/hbase/trunk/hbase-shell/src/test/ruby/test_helper.rb:130:in `replication_status'
          ./src/test/ruby/hbase/admin_test.rb:427:in `test_Get_replication_sink_metrics_information'
          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_Get_replication_source_metrics_information(Hbase::AdminAlterTableTest):
      NoMethodError: undefined method `getAgeOfLastAppliedOp' for nil:NilClass
          /home/hbase/trunk/hbase-shell/src/main/ruby/hbase/admin.rb:725:in `status'
          file:/home/hbase/.m2/repository/org/jruby/jruby-complete/1.6.8/jruby-complete-1.6.8.jar!/builtin/java/java.util.rb:7:in `each'
          /home/hbase/trunk/hbase-shell/src/main/ruby/hbase/admin.rb:720:in `status'
          /home/hbase/trunk/hbase-shell/src/test/ruby/test_helper.rb:130:in `replication_status'
          ./src/test/ruby/hbase/admin_test.rb:423:in `test_Get_replication_source_metrics_information'
          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_Get_replication_status(Hbase::AdminAlterTableTest):
      NoMethodError: undefined method `getAgeOfLastAppliedOp' for nil:NilClass
          /home/hbase/trunk/hbase-shell/src/main/ruby/hbase/admin.rb:725:in `status'
          file:/home/hbase/.m2/repository/org/jruby/jruby-complete/1.6.8/jruby-complete-1.6.8.jar!/builtin/java/java.util.rb:7:in `each'
          /home/hbase/trunk/hbase-shell/src/main/ruby/hbase/admin.rb:720:in `status'
          /home/hbase/trunk/hbase-shell/src/test/ruby/test_helper.rb:130:in `replication_status'
          ./src/test/ruby/hbase/admin_test.rb:419:in `test_Get_replication_status'
          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'
      

      Attachments

        1. HBASE-16184-v1.patch
          0.7 kB
          Phil Yang

        Issue Links

          Activity

            People

              yangzhe1991 Phil Yang
              yuzhihong@gmail.com Ted Yu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: