Description
In org.apache.hadoop.io.nativeio.NativeIO.java, the posix_fadvise flag parameter is hardcoded to the most common values in fcntl.h.
However, not all architectures use the same values (in this case, System z/Linux) A better approach would be to not make assumptions about fcntl.h values (or any other system constants).
This bug results in calls to posix_fadvise failing in zLinux.
Attachments
Attachments
Issue Links
- breaks
-
HADOOP-10966 Hadoop Common native compilation broken in windows
- Closed