[
https://issues.apache.org/jira/browse/YARN-5456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Allen Wittenauer updated YARN-5456:
-----------------------------------
Attachment: YARN-5456.01.patch
-01:
* fix the malloc
* protect and/or prototype sysctl as apporpriate (sysctl causes compiler error
on e.g., Solaris)
* fix getline() prototyping on FreeBSD
* don't shortcut chown's on FreeBSD and NetBSD since group perms are inherited
* reverse the order of the bit set and the ownership to a) remove a potential
race condition and b) so that the bits can actually be set on more restrictive
operating systems
* test-container-executor now works on FreeBSD!
* make some of the error messages more useful
* sysctl prototyping doesn't want const's, so remove them to remove a compiler
warning
* add a test for get_executable to test-container-executor
> container-executor support for FreeBSD, NetBSD, and others if conf path is
> absolute
> -----------------------------------------------------------------------------------
>
> Key: YARN-5456
> URL: https://issues.apache.org/jira/browse/YARN-5456
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: nodemanager
> Affects Versions: 3.0.0-alpha2
> Reporter: Allen Wittenauer
> Assignee: Allen Wittenauer
> Attachments: YARN-5456.00.patch, YARN-5456.01.patch
>
>
> YARN-5121 fixed quite a few portability issues, but it also changed how it
> determines it's location to be very operating specific for security reasons.
> We should add support for FreeBSD to unbreak it's ports entry, NetBSD (the
> sysctl options are just in a different order), and for operating systems that
> do not have a defined method, an escape hatch.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]