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/07/06 15:16:12 UTC

[jira] [Created] (HBASE-16184) Shell test fails due to undefined method `getAgeOfLastAppliedOp'

Ted Yu created HBASE-16184:
------------------------------

             Summary: Shell test fails due to undefined method `getAgeOfLastAppliedOp'
                 Key: HBASE-16184
                 URL: https://issues.apache.org/jira/browse/HBASE-16184
             Project: HBase
          Issue Type: Bug
            Reporter: Ted Yu


Running TestShell ended up with the following on master branch:
{code}
  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'
{code}



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