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

TestShell visibility tests failing

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      This is after HBASE-14105 but we've seen this earlier where adding ruby units to the shell tests can cause the visibility tests to fail inexplicably. We can't just avoid adding ruby units to TestShell in 0.98 so figure out the root cause and fix or disable these.

        1) Error:
      test_The_get/put_methods_should_work_for_data_written_with_Visibility(Hbase::VisibilityLabelsAdminMethodsTest):
      NativeException: junit.framework.AssertionFailedError: Waiting timed out after [10,000] msec
          junit/framework/Assert.java:57:in `fail'
          org/apache/hadoop/hbase/Waiter.java:193:in `waitFor'
          org/apache/hadoop/hbase/Waiter.java:128:in `waitFor'
          org/apache/hadoop/hbase/HBaseTestingUtility.java:3514:in `waitFor'
          org/apache/hadoop/hbase/HBaseTestingUtility.java:3576:in `waitLabelAvailable'
          ./src/test/ruby/hbase/visibility_labels_admin_test.rb:73:in `test_The_get/put_methods_should_work_for_data_written_with_Visibility'
          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_The_set/clear_methods_should_work_with_authorizations(Hbase::VisibilityLabelsAdminMethodsTest):
      NativeException: junit.framework.AssertionFailedError: Waiting timed out after [10,000] msec
          junit/framework/Assert.java:57:in `fail'
          org/apache/hadoop/hbase/Waiter.java:193:in `waitFor'
          org/apache/hadoop/hbase/Waiter.java:128:in `waitFor'
          org/apache/hadoop/hbase/HBaseTestingUtility.java:3514:in `waitFor'
          org/apache/hadoop/hbase/HBaseTestingUtility.java:3576:in `waitLabelAvailable'
          ./src/test/ruby/hbase/visibility_labels_admin_test.rb:52:in `test_The_set/clear_methods_should_work_with_authorizations'
          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-14209-0.98.patch
          3 kB
          Andrew Kyle Purtell

        Issue Links

          Activity

            People

              apurtell Andrew Kyle Purtell
              apurtell Andrew Kyle Purtell
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: