[
https://issues.apache.org/jira/browse/YARN-7455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16242410#comment-16242410
]
Eric Yang commented on YARN-7455:
---------------------------------
Default CentOS 7:
{code}
[root@host-1 ~]# xargs --show-limits
Your environment variables take up 2396 bytes
POSIX upper limit on argument length (this system): 2092708
POSIX smallest allowable upper limit on argument length (all systems): 4096
Maximum length of command we could actually use: 2090312
Size of command buffer we are actually using: 131072
{code}
We probably want to increase the size to 2MB to match the system limit.
> add_mounts can overrun temporary buffer
> ---------------------------------------
>
> Key: YARN-7455
> URL: https://issues.apache.org/jira/browse/YARN-7455
> Project: Hadoop YARN
> Issue Type: Bug
> Components: nodemanager
> Affects Versions: 2.9.0, 3.0.0
> Reporter: Jason Lowe
>
> While reviewing YARN-7197 I noticed that add_mounts in docker_util.c has a
> potential buffer overflow since tmp_buffer is only 1024 bytes which may not
> be sufficient to hold the specified mount path.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]