You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Radim Kolar (JIRA)" <ji...@apache.org> on 2013/12/19 02:11:08 UTC
[jira] [Created] (YARN-1519) check if sysconf is implemented before
using it
Radim Kolar created YARN-1519:
---------------------------------
Summary: check if sysconf is implemented before using it
Key: YARN-1519
URL: https://issues.apache.org/jira/browse/YARN-1519
Project: Hadoop YARN
Issue Type: Bug
Components: nodemanager
Affects Versions: 3.0.0, 2.3.0
Reporter: Radim Kolar
If sysconf value _SC_GETPW_R_SIZE_MAX is not implemented, it leads to segfault because invalid pointer gets passed to libc function.
fix: enforce minimum value 1024, same method is used in hadoop-common native code.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)