[
https://issues.apache.org/jira/browse/HADOOP-7753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13136785#comment-13136785
]
Kihwal Lee commented on HADOOP-7753:
------------------------------------
It is a custom macro so autoconf didn't automatically took care of everything.
I think HAVE_SYNC_FILE_RANGE has to be checked and _GNU_SOURCE needs to be set
before including fcntl.h.
> Support fadvise and sync_data_range in NativeIO, add ReadaheadPool class
> ------------------------------------------------------------------------
>
> Key: HADOOP-7753
> URL: https://issues.apache.org/jira/browse/HADOOP-7753
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: io, native
> Affects Versions: 0.23.0
> Reporter: Todd Lipcon
> Assignee: Todd Lipcon
> Attachments: hadoop-7753.txt, hadoop-7753.txt, hadoop-7753.txt,
> hadoop-7753.txt
>
>
> This JIRA adds JNI wrappers for sync_data_range and posix_fadvise. It also
> implements a ReadaheadPool class for future use from HDFS and MapReduce.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira