hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5736) YARN container executor config does not handle white space
Date Wed, 09 Nov 2016 13:01:03 GMT

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

Hudson commented on YARN-5736:

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10798 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/10798/])
YARN-5736. YARN container executor config does not handle white space (rkanter: rev 09f43fa9c089ebfc18401ce84755d3f2000ba033)
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/configuration.c
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/configuration.h
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/main.c
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/test/test-container-executor.c

> YARN container executor config does not handle white space
> ----------------------------------------------------------
>                 Key: YARN-5736
>                 URL: https://issues.apache.org/jira/browse/YARN-5736
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: nodemanager
>            Reporter: Miklos Szegedi
>            Assignee: Miklos Szegedi
>            Priority: Trivial
>              Labels: oct16-medium
>             Fix For: 3.0.0-alpha2
>         Attachments: YARN-5736.001.patch, YARN-5736.002.patch, YARN_5736.000.patch
> The container executor configuration reader does not handle white spaces or malformed
key value pairs in the config file correctly or gracefully
> as an example the following key value line which is part of the configuration (note the
<< is used as a marker to show the extra trailing space):
> yarn.nodemanager.linux-container-executor.group=yarn <<
> is a valid line but when you run the check over the file:
> [root@test]#./container-executor --checksetup
> Can't get group information for yarn - Success.
> [root@test]#
> It fails to find the yarn group but it really tries to find the "yarn " group which fails.
There is no trimming anywhere while processing the lines. If a space would be added in before
or after the = sign a failure would also occur.
> Minor nit is the fact that a failure still is logged as a Success

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org

View raw message