[ https://issues.apache.org/jira/browse/HADOOP-6939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12909623#action_12909623 ]
Hadoop QA commented on HADOOP-6939: ----------------------------------- -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12453840/hadoop-6939.txt against trunk revision 995285. +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 javadoc. The javadoc tool did not generate any warning messages. -1 javac. The patch appears to cause tar ant target to fail. -1 findbugs. The patch appears to cause Findbugs to fail. +1 release audit. The applied patch does not increase the total number of release audit warnings. -1 core tests. The patch failed core unit tests. -1 contrib tests. The patch failed contrib unit tests. -1 system tests framework. The patch failed system tests framework compile. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h9.grid.sp2.yahoo.net/45/testReport/ Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h9.grid.sp2.yahoo.net/45/artifact/trunk/build/test/checkstyle-errors.html Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-h9.grid.sp2.yahoo.net/45/console This message is automatically generated. > Inconsistent lock ordering in AbstractDelegationTokenSecretManager > ------------------------------------------------------------------ > > Key: HADOOP-6939 > URL: https://issues.apache.org/jira/browse/HADOOP-6939 > Project: Hadoop Common > Issue Type: Bug > Affects Versions: 0.22.0 > Reporter: Todd Lipcon > Assignee: Todd Lipcon > Priority: Minor > Attachments: hadoop-6939.txt, lockorder.png > > > AbstractDelegationTokenSecretManager.startThreads() is synchronized, which > calls updateCurrentKey(), which calls logUpdateMasterKey. > logUpdateMasterKey's implementation for HDFS's manager calls > namesystem.logUpdateMasterKey() which is synchronized. Thus the lock order is > ADTSM -> FSN. In FSN.saveNamespace, though, it calls > DTSM.saveSecretManagerState(), so the lock order is FSN -> ADTSM. > I don't think this deadlock occurs in practice since saveNamespace won't > occur until after the ADTSM has started its threads, but should be fixed > anyway. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.