hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thanh Do (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7188) support build libhdfs3 on windows
Date Tue, 02 Dec 2014 20:33:12 GMT

    [ https://issues.apache.org/jira/browse/HDFS-7188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14232090#comment-14232090
] 

Thanh Do commented on HDFS-7188:
--------------------------------

Hi Colin,

Thanks for your feedback and agree with all your points.

I'll work on a next patch that remove as many #ifdefs as possible, and move them all to platform.h.
However, not all of the ifdef can be fixed by redefining the function name because of various
reasons such as different parameter orders, different semantics (e.g., vsnprintf), and unavailability
in Windows (e.g., fncntl, posix_madvise). We will see how much we can get a way with not using
ifdef.

Regarding real user ID, I agree that we should get rid of it for both Windows and Linux.


> support build libhdfs3 on windows
> ---------------------------------
>
>                 Key: HDFS-7188
>                 URL: https://issues.apache.org/jira/browse/HDFS-7188
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs-client
>         Environment: Windows System, Visual Studio 2010
>            Reporter: Zhanwei Wang
>            Assignee: Thanh Do
>         Attachments: HDFS-7188-branch-HDFS-6994-0.patch
>
>
> libhdfs3 should work on windows



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

Mime
View raw message