Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.0-alpha1
-
None
-
Solaris
Description
list() in hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask/src/main/native/src/lib/FileSystem.cc assumes that struct dirent always contains a d_type field which can be used to determine the type of the directory entry. This field is non-POSIX and is not available on all platforms. On platforms where it is not available, stat() should be used instead to determine the type of the directory entry.