hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-8333) TestTableLockManager#testDelete may occasionally fail due to lack of synchronization between test and handler thread
Date Fri, 12 Apr 2013 23:16:16 GMT

    [ https://issues.apache.org/jira/browse/HBASE-8333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13630745#comment-13630745
] 

Hadoop QA commented on HBASE-8333:
----------------------------------

{color:green}+1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12578523/8333-v5.txt
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 3 new or modified
tests.

    {color:green}+1 hadoop2.0{color}.  The patch compiles against the hadoop 2.0 profile.

    {color:green}+1 javadoc{color}.  The javadoc tool did not generate any warning messages.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:green}+1 findbugs{color}.  The patch does not introduce any new Findbugs (version
1.3.9) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number
of release audit warnings.

    {color:green}+1 lineLengths{color}.  The patch does not introduce lines longer than 100

  {color:green}+1 site{color}.  The mvn site goal succeeds with this patch.

    {color:green}+1 core tests{color}.  The patch passed unit tests in .

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

This message is automatically generated.
                
> TestTableLockManager#testDelete may occasionally fail due to lack of synchronization
between test and handler thread
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-8333
>                 URL: https://issues.apache.org/jira/browse/HBASE-8333
>             Project: HBase
>          Issue Type: Test
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>             Fix For: 0.98.0
>
>         Attachments: 8333-v2.txt, 8333-v3.txt, 8333-v4.txt, 8333-v5.txt
>
>
> {code}
> java.lang.AssertionError
> 	at org.junit.Assert.fail(Assert.java:86)
> 	at org.junit.Assert.assertTrue(Assert.java:41)
> 	at org.junit.Assert.assertTrue(Assert.java:52)
> 	at org.apache.hadoop.hbase.master.TestTableLockManager.testDelete(TestTableLockManager.java:250)
> {code}
> It corresponds to this assertion:
> {code}
>     assertTrue(ZKUtil.checkExists(zkWatcher,
>         ZKUtil.joinZNode(zkWatcher.tableLockZNode, Bytes.toString(TABLE_NAME))) <
0);
> {code}
> In test output (https://builds.apache.org/job/HBase-TRUNK/4056/testReport/junit/org.apache.hadoop.hbase.master/TestTableLockManager/testDelete/):
> {code}
> 2013-04-12 10:46:02,642 DEBUG [MASTER_TABLE_OPERATIONS-janus.apache.org,36265,1365763551669-0]
handler.DeleteTableHandler(113): Table 'TestTableLevelLocks' archived!
> 2013-04-12 10:46:02,642 DEBUG [MASTER_TABLE_OPERATIONS-janus.apache.org,36265,1365763551669-0]
handler.DeleteTableHandler(117): Removing 'TestTableLevelLocks' descriptor.
> 2013-04-12 10:46:02,643 DEBUG [MASTER_TABLE_OPERATIONS-janus.apache.org,36265,1365763551669-0]
handler.DeleteTableHandler(121): Marking 'TestTableLevelLocks' as deleted.
> 2013-04-12 10:46:02,658 DEBUG [MASTER_TABLE_OPERATIONS-janus.apache.org,36265,1365763551669-0]
master.TableLockManager$ZKTableLockManager$TableLockImpl(253): Attempt to release table write
lock on :TestTableLevelLocks
> 2013-04-12 10:46:02,667 DEBUG [RS_CLOSE_META-janus.apache.org,54489,1365763551867-0]
util.FSUtils(211): Creating file=hdfs://localhost:52497/user/jenkins/hbase/.META./1028785192/.tmp/59ec68e4587d43d6bc026e4d6f2aafa2
with permission=rwxrwxrwx
> 2013-04-12 10:46:02,674 DEBUG [MASTER_TABLE_OPERATIONS-janus.apache.org,36265,1365763551669-0]
lock.ZKInterProcessLockBase(297): Successfully released /hbase/table-lock/TestTableLevelLocks/write-master:362650000000002
> 2013-04-12 10:46:02,675 DEBUG [MASTER_TABLE_OPERATIONS-janus.apache.org,36265,1365763551669-0]
master.TableLockManager$ZKTableLockManager$TableLockImpl(269): Released table lock on :TestTableLevelLocks
> {code}
> This seems to be timing issue: when admin.deleteTable(TABLE_NAME) returned, TableLockManager
hadn't got around to finishing the release of table lock.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message