You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/07/22 20:38:08 UTC
[jira] [Commented] (HADOOP-12184) Remove unused Linux-specific
constants in NativeIO
[ https://issues.apache.org/jira/browse/HADOOP-12184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14637403#comment-14637403 ]
Hudson commented on HADOOP-12184:
---------------------------------
FAILURE: Integrated in Hadoop-trunk-Commit #8201 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/8201/])
HADOOP-12184. Remove unused Linux-specific constants in NativeIO (Martin Walsh via Colin P. McCabe) (cmccabe: rev 1b3bceb58c8e536a75fa3f99cc3ceeaba91a07de)
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/nativeio/NativeIO.java
* hadoop-common-project/hadoop-common/CHANGES.txt
> Remove unused Linux-specific constants in NativeIO
> --------------------------------------------------
>
> Key: HADOOP-12184
> URL: https://issues.apache.org/jira/browse/HADOOP-12184
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: native
> Affects Versions: 2.7.0
> Environment: Solaris
> Reporter: Martin Walsh
> Assignee: Martin Walsh
> Fix For: 2.8.0
>
> Attachments: HADOOP-12184.001.patch
>
>
> The POSIX subclass in NativeIO contains the following constants that are not defined in POSIX:
> O_ASYNC, O_FSYNC, O_NDELAY
> Stat.S_IFWHT
> These constants are not used within Hadoop, as far as I could tell. As they are not part of the POSIX specification, they should be removed as part of an effort to create portable code.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)