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

Thanh Do updated HDFS-7577:
---------------------------
    Attachment: HDFS-7577-branch-HDFS-6994-0.patch

Hi [~cmccabe]! 

Attached is the first patch for this issue. It contains following changes.

1. put all Cmake settings in {{build.h.in}}

2. separate platform specific stuff into either {{posix/platform.h}} or 
{{windows/platform.h}}

3. change to {{src/CMakeLists.txt}} to include correct {{platform.h}}

4. add bunch of mostly dummy headers that are not available in Windows. This 
will avoid putting scattered {{#ifdef}} across the source files.

This patch should reduce the number of compilation errors (e.g., missing 
header, undefined function) for Windows build significantly. Once this patch 
gets checked in, I will work on rewriting some posix-dependent part that cannot 
be fixed by simply redefining the function signatures.

> Add additional headers that includes need by Windows
> ----------------------------------------------------
>
>                 Key: HDFS-7577
>                 URL: https://issues.apache.org/jira/browse/HDFS-7577
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs-client
>            Reporter: Thanh Do
>            Assignee: Thanh Do
>         Attachments: HDFS-7577-branch-HDFS-6994-0.patch
>
>
> This jira involves adding a list of (mostly dummy) headers that available in 
> POSIX systems, but not in Windows. One step towards making libhdfs3 built in 
> Windows.



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

Reply via email to