[
https://issues.apache.org/jira/browse/HDFS-2019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13044210#comment-13044210
]
Matt Foley commented on HDFS-2019:
----------------------------------
Since the above local test-patch run apparently didn't include core tests and
contrib tests like the usual Hudson build, I ran them too:
"ant -Dresolvers=internal test-contrib" built successfully.
"ant -Dresolvers=internal test-core" had three unit test failures:
* TestHDFSTrash timeout - passed when run with TestTrash patch (HADOOP-7326)
* TestReplaceDatanodeOnFailure - passed when run by itself
* TestLargeBlock timeout - also times out when run on pre-patch codebase, so
not related to this patch
Seems like a +1 here too.
> Fix all the places where Java method File.list is used with FileUtil.list API
> -----------------------------------------------------------------------------
>
> Key: HDFS-2019
> URL: https://issues.apache.org/jira/browse/HDFS-2019
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: data-node
> Affects Versions: 0.23.0
> Reporter: Bharath Mundlapudi
> Assignee: Bharath Mundlapudi
> Priority: Minor
> Fix For: 0.23.0
>
> Attachments: HDFS-2019-1.patch
>
>
> This new method FileUtil.list will throw an exception when disk is bad rather
> than returning null.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira