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

qiang Liu commented on HDFS-14669:
----------------------------------

[~ayushtkn]

submit v4 patch just same as v2.

one thing more is left here, this test function still get 2 little problems.
 # the recheck logics is not actually working, it only recheck assertions but 
didn't rescan to update compared values
 # if assertion fails, the assertion exception was swallowed and a misleading 
time out exception is thrown

should we fix these little problems(a new Jira or a addendum to  HDFS-13819 ), 
or should we just ignore it, after all, things only got little strange when 
asssertion failes.

> 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, HDFS-14669-trunk.004.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]

Reply via email to