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

replication_admin_test.rb fails in 0.98 branch

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Cannot Reproduce
    • 0.98.19
    • None
    • None
    • None

    Description

      From https://builds.apache.org/job/HBase-0.98-matrix/jdk=latest1.7,label=yahoo-not-h2/352/testReport/junit/org.apache.hadoop.hbase.client/TestShell/testRunShellTests/ :

        1) Error:
      test_add_peer:_multiple_zk_cluster_key_-_peer_config(Hbase::ReplicationAdminTest):
      NativeException: org.apache.hadoop.hbase.replication.ReplicationException: Could not remove peer with id=1
          org/apache/hadoop/hbase/replication/ReplicationPeersZKImpl.java:144:in `removePeer'
          org/apache/hadoop/hbase/client/replication/ReplicationAdmin.java:229:in `removePeer'
          /home/jenkins/jenkins-slave/workspace/HBase-0.98-matrix/jdk/latest1.7/label/yahoo-not-h2/hbase-shell/src/main/ruby/hbase/replication_admin.rb:102:in `remove_peer'
          ./src/test/ruby/hbase/replication_admin_test.rb:140:in `test_add_peer:_multiple_zk_cluster_key_-_peer_config'
          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'
      

      The above led to assertion failures for subsequent tests:

      2) Failure:
      test_add_peer:_multiple_zk_cluster_key_-_peer_config(Hbase::ReplicationAdminTest)
          [./src/test/ruby/hbase/replication_admin_test.rb:41:in `teardown'
           org/jruby/RubyArray.java:1620:in `each'
           org/jruby/RubyArray.java:1620:in `each']:
      <0> expected but was
      <1>.
      

      Attachments

        1. TestShell-output.txt
          4.17 MB
          Ted Yu

        Activity

          People

            Unassigned Unassigned
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: