HBase
  1. HBase
  2. HBASE-10465

TestZKPermissionsWatcher.testPermissionsWatcher fails sometimes

    Details

    • Type: Test Test
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.98.0, 0.99.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      It looks like sleeping 100 ms is not enough for the permission change to propagate to other watchers. Will increase the sleeping time a little.

      1. hbase-10465.patch
        0.9 kB
        Jimmy Xiang

        Activity

        Hide
        Hudson added a comment -

        SUCCESS: Integrated in HBase-0.98-on-Hadoop-1.1 #125 (See https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/125/)
        HBASE-10465 TestZKPermissionsWatcher.testPermissionsWatcher fails sometimes (Jimmy Xiang) (apurtell: rev 1564909)

        • /hbase/branches/0.98/hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestZKPermissionsWatcher.java
        Show
        Hudson added a comment - SUCCESS: Integrated in HBase-0.98-on-Hadoop-1.1 #125 (See https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/125/ ) HBASE-10465 TestZKPermissionsWatcher.testPermissionsWatcher fails sometimes (Jimmy Xiang) (apurtell: rev 1564909) /hbase/branches/0.98/hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestZKPermissionsWatcher.java
        Hide
        Hudson added a comment -

        FAILURE: Integrated in HBase-TRUNK-on-Hadoop-1.1 #80 (See https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-1.1/80/)
        HBASE-10465 TestZKPermissionsWatcher.testPermissionsWatcher fails sometimes (jxiang: rev 1564881)

        • /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestZKPermissionsWatcher.java
        Show
        Hudson added a comment - FAILURE: Integrated in HBase-TRUNK-on-Hadoop-1.1 #80 (See https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-1.1/80/ ) HBASE-10465 TestZKPermissionsWatcher.testPermissionsWatcher fails sometimes (jxiang: rev 1564881) /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestZKPermissionsWatcher.java
        Hide
        Hudson added a comment -

        SUCCESS: Integrated in HBase-0.98 #135 (See https://builds.apache.org/job/HBase-0.98/135/)
        HBASE-10465 TestZKPermissionsWatcher.testPermissionsWatcher fails sometimes (Jimmy Xiang) (apurtell: rev 1564909)

        • /hbase/branches/0.98/hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestZKPermissionsWatcher.java
        Show
        Hudson added a comment - SUCCESS: Integrated in HBase-0.98 #135 (See https://builds.apache.org/job/HBase-0.98/135/ ) HBASE-10465 TestZKPermissionsWatcher.testPermissionsWatcher fails sometimes (Jimmy Xiang) (apurtell: rev 1564909) /hbase/branches/0.98/hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestZKPermissionsWatcher.java
        Hide
        Hudson added a comment -

        FAILURE: Integrated in HBase-TRUNK #4889 (See https://builds.apache.org/job/HBase-TRUNK/4889/)
        HBASE-10465 TestZKPermissionsWatcher.testPermissionsWatcher fails sometimes (jxiang: rev 1564881)

        • /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestZKPermissionsWatcher.java
        Show
        Hudson added a comment - FAILURE: Integrated in HBase-TRUNK #4889 (See https://builds.apache.org/job/HBase-TRUNK/4889/ ) HBASE-10465 TestZKPermissionsWatcher.testPermissionsWatcher fails sometimes (jxiang: rev 1564881) /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestZKPermissionsWatcher.java
        Hide
        Andrew Purtell added a comment -

        Committed test fix to 0.98 also.

        Show
        Andrew Purtell added a comment - Committed test fix to 0.98 also.
        Hide
        Jimmy Xiang added a comment -

        Yes, increased the sleep time to 1000ms. Thanks.

        Show
        Jimmy Xiang added a comment - Yes, increased the sleep time to 1000ms. Thanks.
        Hide
        stack added a comment -

        +1

        Go even more while you are at it on commit Jimmy Xiang

        Show
        stack added a comment - +1 Go even more while you are at it on commit Jimmy Xiang
        Hide
        Hadoop QA added a comment -

        +1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12626993/hbase-10465.patch
        against trunk revision .
        ATTACHMENT ID: 12626993

        +1 @author. The patch does not contain any @author tags.

        +1 tests included. The patch appears to include 3 new or modified tests.

        +1 hadoop1.0. The patch compiles against the hadoop 1.0 profile.

        +1 hadoop1.1. The patch compiles against the hadoop 1.1 profile.

        +1 javadoc. The javadoc tool did not generate any warning messages.

        +1 javac. The applied patch does not increase the total number of javac compiler warnings.

        +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.

        +1 release audit. The applied patch does not increase the total number of release audit warnings.

        +1 lineLengths. The patch does not introduce lines longer than 100

        +1 site. The mvn site goal succeeds with this patch.

        +1 core tests. The patch passed unit tests in .

        Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/8597//testReport/
        Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8597//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html
        Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8597//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-prefix-tree.html
        Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8597//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-client.html
        Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8597//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-common.html
        Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8597//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-protocol.html
        Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8597//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html
        Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8597//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-examples.html
        Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8597//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-thrift.html
        Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8597//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html
        Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/8597//console

        This message is automatically generated.

        Show
        Hadoop QA added a comment - +1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12626993/hbase-10465.patch against trunk revision . ATTACHMENT ID: 12626993 +1 @author . The patch does not contain any @author tags. +1 tests included . The patch appears to include 3 new or modified tests. +1 hadoop1.0 . The patch compiles against the hadoop 1.0 profile. +1 hadoop1.1 . The patch compiles against the hadoop 1.1 profile. +1 javadoc . The javadoc tool did not generate any warning messages. +1 javac . The applied patch does not increase the total number of javac compiler warnings. +1 findbugs . The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit . The applied patch does not increase the total number of release audit warnings. +1 lineLengths . The patch does not introduce lines longer than 100 +1 site . The mvn site goal succeeds with this patch. +1 core tests . The patch passed unit tests in . Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/8597//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8597//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8597//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-prefix-tree.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8597//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-client.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8597//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-common.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8597//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-protocol.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8597//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8597//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-examples.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8597//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-thrift.html Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/8597//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/8597//console This message is automatically generated.

          People

          • Assignee:
            Jimmy Xiang
            Reporter:
            Jimmy Xiang
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development