[
https://issues.apache.org/jira/browse/HDFS-14669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16897269#comment-16897269
]
Ayush Saxena commented on HDFS-14669:
-------------------------------------
Thanx [~iamgd67] for the details..
I am able to reproduce it, I tried putting a delay and this failed with same
exception. and with the fix works fine.
Adding the namechange mechanism LGTM.
Regarding HDFS-12319 part, we are here like reverting that only. And the JIRA
doesn't have any mention to what actually it did.
[~elgoiri] you were involved in the JIRA, Can you help us here please. :)
> TestDirectoryScanner#testDirectoryScannerInFederatedCluster fails
> intermittently in trunk
> -----------------------------------------------------------------------------------------
>
> Key: HDFS-14669
> URL: https://issues.apache.org/jira/browse/HDFS-14669
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: datanode
> Affects Versions: 3.2.0
> Environment: env free
> Reporter: qiang Liu
> Assignee: qiang Liu
> Priority: Minor
> Labels: scanner, test
> Attachments: HDFS-14669-trunk-001.patch, HDFS-14669-trunk.002.patch,
> HDFS-14669-trunk.003.patch
>
>
> org.apache.hadoop.hdfs.server.datanode.TestDirectoryScanner#testDirectoryScannerInFederatedCluster
> radomlly Failes because of write files of the same name, meaning intent to
> write 2 files but 2 files are the same name, witch cause a race condition of
> datanode delete block and the scan action count block.
>
> Ref ::
> [https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/1207/testReport/junit/org.apache.hadoop.hdfs.server.datanode/TestDirectoryScanner/testDirectoryScannerInFederatedCluster/]
>
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]