hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kiran Kumar M R (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9922) hadoop windows native build will fail in 32 bit machine
Date Wed, 25 Feb 2015 07:09:05 GMT

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

Kiran Kumar M R commented on HADOOP-9922:
-----------------------------------------

Thanks for the review [~cnauroth], I have attached a new patch addressing these warnings and
few more.

For some variables, i have declared as {{unsigned int}} instead of {{size_t}}, as 64-bit build
was complaining assigning {{size_t}} to {{ULONG}}

Following warnings in 32-bit build are resolved:
{code}
libwinutils.c(2887): warning C4018: '<' : signed/unsigned mismatch [winutils\libwinutils.vcxproj]
libwinutils.c(2899): warning C4018: '<' : signed/unsigned mismatch [winutils\libwinutils.vcxproj]
service.c(187): warning C4018: '<' : signed/unsigned mismatch [winutils\winutils.vcxproj]
service.c(282): warning C4018: '<' : signed/unsigned mismatch [winutils\winutils.vcxproj]
service.c(380): warning C4018: '<' : signed/unsigned mismatch [winutils\winutils.vcxproj]
service.c(430): warning C4018: '<' : signed/unsigned mismatch [winutils\winutils.vcxproj]
service.c(1117): warning C4020: 'AddNodeManagerAndUserACEsToObject' : too many actual parameters
[winutils\winutils.vcxproj]
task.c(160): warning C4018: '<' : signed/unsigned mismatch [winutils\winutils.vcxproj]
task.c(195): warning C4018: '<' : signed/unsigned mismatch [winutils\winutils.vcxproj]
task.c(240): warning C4029: declared formal parameter list different from definition [winutils\winutils.vcxproj]
task.c(339): warning C4018: '<' : signed/unsigned mismatch [winutils\winutils.vcxproj]
{code}

Following warnings in 64-bit build are resolved:
{code}
service.c(282): warning C4018: '<' : signed/unsigned mismatch [winutils\winutils.vcxproj]
service.c(1117): warning C4020: 'AddNodeManagerAndUserACEsToObject' : too many actual parameters
[winutils\winutils.vcxproj]
task.c(240): warning C4029: declared formal parameter list different from definition [winutils\winutils.vcxproj]
task.c(339): warning C4018: '<' : signed/unsigned mismatch [winutils\winutils.vcxproj]
{code}

One warning is changed in 64-bit build:
{code}
- task.c(312): warning C4133: 'function' : incompatible types - from 'int *' to 'size_t *'
[winutils\winutils.vcxproj]
+ task.c(312): warning C4133: 'function' : incompatible types - from 'unsigned int *' to 'size_t
*' [winutils\winutils.vcxproj]
{code}

> hadoop windows native build will fail in 32 bit machine
> -------------------------------------------------------
>
>                 Key: HADOOP-9922
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9922
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build, native
>    Affects Versions: 3.0.0, 2.1.1-beta
>            Reporter: Vinayakumar B
>            Assignee: Kiran Kumar M R
>         Attachments: HADOOP-9922-002.patch, HADOOP-9922-003.patch, HADOOP-9922-004.patch,
HADOOP-9922.patch
>
>
> Building Hadoop in windows 32 bit machine fails as native project is not having Win32
configuration



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

Mime
View raw message