hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-6416) Not all platforms have d_type in struct dirent
Date Tue, 27 Oct 2015 23:41:28 GMT

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

Hudson commented on MAPREDUCE-6416:
-----------------------------------

FAILURE: Integrated in Hadoop-Yarn-trunk #1328 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/1328/])
MAPREDUCE-6416. Not all platforms have d_type in struct dirent (Alan (aw: rev 5c24fe7f91970dedae35906ff7990ea5410f070e)
* hadoop-mapreduce-project/CHANGES.txt
* hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask/src/main/native/src/lib/FileSystem.cc


> Not all platforms have d_type in struct dirent
> ----------------------------------------------
>
>                 Key: MAPREDUCE-6416
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6416
>             Project: Hadoop Map/Reduce
>          Issue Type: Sub-task
>          Components: build
>    Affects Versions: 3.0.0
>         Environment: Solaris
>            Reporter: Alan Burlison
>            Assignee: Alan Burlison
>             Fix For: 3.0.0
>
>         Attachments: MAPREDUCE-6416.001.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message