hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10925) Compilation fails in native link0 function on Windows.
Date Fri, 01 Aug 2014 22:03:41 GMT

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

Chris Nauroth commented on HADOOP-10925:
----------------------------------------

{code}
  src\org\apache\hadoop\io\nativeio\NativeIO.c(1084): error C2198: 'CreateHardLinkW' : too
few arguments for call [C:\hdc\hadoop-common-project\hadoop-common\src\main\native\native.vcxproj]

    2 Warning(s)
    1 Error(s)
{code}

We'll need to pass {{NULL}} as a third argument to {{CreateHardLink}}.

http://msdn.microsoft.com/en-us/library/windows/desktop/aa363860(v=vs.85).aspx


> Compilation fails in native link0 function on Windows.
> ------------------------------------------------------
>
>                 Key: HADOOP-10925
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10925
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: native
>    Affects Versions: 3.0.0, 2.6.0
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>            Priority: Blocker
>
> HDFS-6482 introduced a new native code function for creating hard links.  The Windows
implementation of this function does not compile due to an incorrect call to {{CreateHardLink}}.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message