Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.20.205.0
-
None
Description
Since we have multiple Jira's in trunk for common and hdfs, I am creating another jira for this issue.
This patch addresses the following:
1. Provides FileUtil API for list and listFiles which throws IOException for null cases.
2. Replaces most of the code where JDK file API with FileUtil API.
Attachments
Attachments
Issue Links
- depends upon
-
HDFS-1934 Fix NullPointerException when File.listFiles() API returns null
- Closed
-
HADOOP-7322 Adding a util method in FileUtil for JDK File.listFiles
- Closed
-
HADOOP-7342 Add an utility API in FileUtil for JDK File.list
- Closed
-
HDFS-2019 Fix all the places where Java method File.list is used with FileUtil.list API
- Closed