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 "Martin Walsh (JIRA)" <ji...@apache.org> on 2015/07/21 16:55:05 UTC

[jira] [Updated] (HADOOP-7824) Native IO uses wrong constants almost everywhere

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

Martin Walsh updated HADOOP-7824:
---------------------------------
    Attachment: HADOOP-7824.001.patch

Changes introduce checkstyle issues.  This is because for the JNI solution to work the constants we modify the value for must have the "final" modifier removed.  Checkstyle then thinks this is a standard variable and applies a different ruleset to it.  

> Native IO uses wrong constants almost everywhere
> ------------------------------------------------
>
>                 Key: HADOOP-7824
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7824
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: native
>    Affects Versions: 0.20.204.0, 0.20.205.0, 1.0.3, 0.23.0, 2.0.0-alpha, 3.0.0
>         Environment: Mac OS X, Linux, Solaris, Windows, ... 
>            Reporter: Dmytro Shteflyuk
>            Assignee: Martin Walsh
>              Labels: hadoop
>         Attachments: HADOOP-7824.001.patch, HADOOP-7824.patch, HADOOP-7824.patch, hadoop-7824.txt
>
>
> Constants like O_CREAT, O_EXCL, etc. have different values on OS X and many other operating systems.



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