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

Jason Lowe commented on YARN-4594:
----------------------------------

It would be nice to have the ability to target a specific Mac OS X SDK version 
in general.  However I agree with Colin that it doesn't really make sense to 
have the Mac build compiling a program that's never intended to run on the Mac 
in the first place.  It may happen to compile by chance, but we don't want to 
get into a situation where we keep accidentally breaking it as happened here.  
Therefore I think the real long-term fix is to patch the Hadoop build to avoid 
compiling container-executor on the Mac.


> container-executor fails to remove directory tree when chmod required
> ---------------------------------------------------------------------
>
>                 Key: YARN-4594
>                 URL: https://issues.apache.org/jira/browse/YARN-4594
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>             Fix For: 2.9.0
>
>         Attachments: YARN-4594.001.patch, YARN-4594.002.patch, 
> YARN-4594.003.patch, YARN-4594.004.patch
>
>
> test-container-executor.c doesn't work:
> * It assumes that realpath(/bin/ls) will be /bin/ls, whereas it is actually 
> /usr/bin/ls on many systems.
> * The recursive delete logic in container-executor.c fails -- nftw does the 
> wrong thing when confronted with directories with the wrong mode (permission 
> bits), leading to an attempt to run rmdir on a non-empty directory.



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

Reply via email to