[ https://issues.apache.org/jira/browse/HDFS-5289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13785213#comment-13785213 ]
Hudson commented on HDFS-5289: ------------------------------ FAILURE: Integrated in Hadoop-Mapreduce-trunk #1567 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1567/]) HDFS-5289. Race condition in TestRetryCacheWithHA#testCreateSymlink causes spurious test failure. Contributed by Aaron T. Myers. (atm: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1528693) * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestRetryCacheWithHA.java > Race condition in TestRetryCacheWithHA#testCreateSymlink causes spurious test > failure > ------------------------------------------------------------------------------------- > > Key: HDFS-5289 > URL: https://issues.apache.org/jira/browse/HDFS-5289 > Project: Hadoop HDFS > Issue Type: Bug > Components: test > Affects Versions: 2.1.1-beta > Reporter: Aaron T. Myers > Assignee: Aaron T. Myers > Fix For: 2.1.2-beta > > Attachments: HDFS-5289.patch > > > The code to check if the operation has been completed on the active NN can > potentially execute before the thread actually doing the operation has run. > In this case the checking code will retry the check if the result of the > check is null. However, the test operation does not in fact return null, > instead throwing an exception if the file doesn't exist yet. We need to catch > the exception and retry. -- This message was sent by Atlassian JIRA (v6.1#6144)