[
https://issues.apache.org/jira/browse/HDFS-2043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lin Yiqun updated HDFS-2043:
----------------------------
Attachment: HDFS-2043.004.patch
Thanks [~iwasakims] for great analysis!
{quote}
The testHFlushInterrupted expects that the second stm.close() succeeds but it
is not true. Underlying streamer thread is closed since closeThreads(true) is
called in the finally block of DFSOutputStream#closeImpl.
{quote}
This operation was added in HDFS-9812, that issue fixed the problem of streamer
threads leaking if failure happens when closing DFSOutputStream. And after
HDFS-9812 fixed, the second {{stm.close()}} will failed more frequently.
Thanks again for the comment. Post a new patch for this.
> TestHFlush failing intermittently
> ---------------------------------
>
> Key: HDFS-2043
> URL: https://issues.apache.org/jira/browse/HDFS-2043
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Aaron T. Myers
> Assignee: Lin Yiqun
> Attachments: HDFS-2043.002.patch, HDFS-2043.003.patch,
> HDFS-2043.004.patch, HDFS.001.patch
>
>
> I can't reproduce this failure reliably, but it seems like TestHFlush has
> been failing intermittently, with the frequency increasing of late.
> Note the following two pre-commit test runs from different JIRAs where
> TestHFlush seems to have failed spuriously:
> https://builds.apache.org/job/PreCommit-HDFS-Build/734//testReport/
> https://builds.apache.org/job/PreCommit-HDFS-Build/680//testReport/
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]