You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Remus Rusanu (JIRA)" <ji...@apache.org> on 2015/03/02 10:26:04 UTC

[jira] [Commented] (HADOOP-11639) Clean up Windows native code compilation warnings related to Windows Secure Container Executor.

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

Remus Rusanu commented on HADOOP-11639:
---------------------------------------

I still have some C4748 warnings not sure how to handle these:
{code}
"E:\HW\project\hadoop-common\hadoop-common-project\hadoop-common\src\main\native\native.vcxproj" (default target) (2) ->
(Link target) ->
  e:\hw\project\hadoop-common\hadoop-common-project\hadoop-common\src\main\winutils\libwinutils.c(533): warning C4748: /GS can not protect parameters
and local variables from local buffer overrun because optimizations are disabled in function [E:\HW\project\hadoop-common\hadoop-common-project\hadoop
-common\src\main\native\native.vcxproj]
  e:\hw\project\hadoop-common\hadoop-common-project\hadoop-common\src\main\winutils\libwinutils.c(2360): warning C4748: /GS can not protect parameters
 and local variables from local buffer overrun because optimizations are disabled in function [E:\HW\project\hadoop-common\hadoop-common-project\hadoo
p-common\src\main\native\native.vcxproj]
  e:\hw\project\hadoop-common\hadoop-common-project\hadoop-common\src\main\winutils\libwinutils.c(2311): warning C4748: /GS can not protect parameters
 and local variables from local buffer overrun because optimizations are disabled in function [E:\HW\project\hadoop-common\hadoop-common-project\hadoo
p-common\src\main\native\native.vcxproj]
  e:\hw\project\hadoop-common\hadoop-common-project\hadoop-common\src\main\winutils\libwinutils.c(342): warning C4748: /GS can not protect parameters
and local variables from local buffer overrun because optimizations are disabled in function [E:\HW\project\hadoop-common\hadoop-common-project\hadoop
-common\src\main\native\native.vcxproj]
  e:\hw\project\hadoop-common\hadoop-common-project\hadoop-common\src\main\winutils\client.c(46): warning C4748: /GS can not protect parameters and lo
cal variables from local buffer overrun because optimizations are disabled in function [E:\HW\project\hadoop-common\hadoop-common-project\hadoop-commo
n\src\main\native\native.vcxproj]
  e:\hw\project\hadoop-common\hadoop-common-project\hadoop-common\src\main\winutils\libwinutils.c(815): warning C4748: /GS can not protect parameters
and local variables from local buffer overrun because optimizations are disabled in function [E:\HW\project\hadoop-common\hadoop-common-project\hadoop
-common\src\main\native\native.vcxproj]
{code}

> Clean up Windows native code compilation warnings related to Windows Secure Container Executor.
> -----------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-11639
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11639
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: native
>    Affects Versions: 2.6.0
>            Reporter: Chris Nauroth
>            Assignee: Remus Rusanu
>         Attachments: HADOOP-11639.00.patch
>
>
> YARN-2198 introduced additional code in Hadoop Common to support the NodeManager {{WindowsSecureContainerExecutor}}.  The patch introduced new compilation warnings that we need to investigate and resolve.



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