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, 30 Dec 2014 22:09:14 GMT

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

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

Hi [~cmccabe]. Let me clarify about the small jiras that I've thought of (their order, what
they do, and what is the outcome). 

The overall goal is that once all of these JIRA get in, libhdfs3 can be built and run successfully
in Windows Visual Studio. However, each individual JIRA will not guarantee this big goal.
Rather, it serves as a step toward the overall goal. One requirement for each JIRA is that
it should not break build in Linux or Mac.

With this overview, here is the list of the proposed JIRAs.

# make cmake generate a solution file for VS 2010 (HDFS-7574). This JIRA only contains changes
for Cmakelist files. _Outcome_: running "cmake -G Visual Studio 10 2010" will generate a solution
file, loadable by VS 2010. Of course, build in Windows will not be successful.
# add additional headers needed by Windows (HDFS-7577). This JIRA contains two set of changes:
(a) missing dummy headers file in Windows, and (b) cmake changes to add header dirs. _Outcome_:
build in Windows will still fail (with smaller number of errors though, because now the missing
headers are there).
# restructure the platform specific functions. The goal here is to make POSIX specific code
(e.g., in logging, stack printer, get local network address) platform aware. Some examples
would be {{platform_vsnprintf}} and {{GetAdaptersAddresses}}, as you mentioned above. _Outcome_:
build will success in Windows, but the library will not function correctly, because Windows
counterpart  are only placeholders.
# Implement platform specific functions in Windows. This JIRA simply fills in those placeholders
in #3 with the large chunks of Windows-specific code I already have. _Outcome_: libhdfs3 now
can be built successfully _and_ run correctly.

Please let me know your thoughts.


> 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, HDFS-7188-branch-HDFS-6994-1.patch
>
>
> libhdfs3 should work on windows



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

Mime
View raw message