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 "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2015/07/22 20:12:05 UTC

[jira] [Updated] (HADOOP-12184) Remove unused Linux-specific constants in NativeIO

     [ https://issues.apache.org/jira/browse/HADOOP-12184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colin Patrick McCabe updated HADOOP-12184:
------------------------------------------
    Summary: Remove unused Linux-specific constants in NativeIO  (was: NativeIO POSIX contains constants that are not in POSIX )

> 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
>         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)