[
https://issues.apache.org/jira/browse/HDFS-5202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13766969#comment-13766969
]
Chris Nauroth commented on HDFS-5202:
-------------------------------------
I don't think there are many platform-specific hurdles to implementing this
feature on Windows. I can only think of a couple of issues:
# Windows does not have {{getrlimit}}, and I'm not aware of an equivalent. I
propose that we stub the implementation on Windows to throw
{{UnsupportedOperationException}} and add checks to skip calling the method
from Java on Windows. This part is required before we merge the feature branch
back to trunk, because otherwise the codebase won't compile on Windows.
# {{mlock}} and {{munlock}} compile fine on Windows, but there is also
{{VirtualLock}} and {{VirtualUnlock}} in the Windows API, and I haven't been
able to find documentation describing whether or not the two sets of functions
behave differently. We need to figure out if there is a compelling reason for
a Windows-specific code path that uses {{VirtualLock}} and {{VirtualUnlock}}.
This part can happen independently of the current feature work.
> umbrella JIRA for Windows support in HDFS caching
> -------------------------------------------------
>
> Key: HDFS-5202
> URL: https://issues.apache.org/jira/browse/HDFS-5202
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Colin Patrick McCabe
>
> This is an umbrella JIRA for adding Windows support for HDFS caching.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira