Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6941810E5F for ; Tue, 30 Dec 2014 22:09:14 +0000 (UTC) Received: (qmail 41556 invoked by uid 500); 30 Dec 2014 22:09:14 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 41499 invoked by uid 500); 30 Dec 2014 22:09:14 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 41478 invoked by uid 99); 30 Dec 2014 22:09:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Dec 2014 22:09:14 +0000 Date: Tue, 30 Dec 2014 22:09:14 +0000 (UTC) From: "Thanh Do (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-7188) support build libhdfs3 on windows MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)