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 "Zhichun Wu (JIRA)" <ji...@apache.org> on 2014/02/02 17:36:09 UTC

[jira] [Created] (YARN-1681) When "banned.users" is not set in LCE's container-executor.cfg, submit job with user in DEFAULT_BANNED_USERS will receive unclear error message

Zhichun Wu created YARN-1681:
--------------------------------

             Summary: When "banned.users" is not set in LCE's container-executor.cfg, submit job with user in DEFAULT_BANNED_USERS will receive unclear error message
                 Key: YARN-1681
                 URL: https://issues.apache.org/jira/browse/YARN-1681
             Project: Hadoop YARN
          Issue Type: Bug
          Components: nodemanager
    Affects Versions: 2.2.0
            Reporter: Zhichun Wu
            Priority: Minor


When using LCE in a secure setup, if "banned.users" is not set in container-executor.cfg, submit job with user in DEFAULT_BANNED_USERS ("mapred", "hdfs", "bin", 0)  will receive unclear error message.
for example, if we use hdfs to submit a mr job, we may see the following the yarn app overview page:
{code}
appattempt_1391353981633_0003_000002 exited with exitCode: -1000 due to: Application application_1391353981633_0003 initialization failed (exitCode=139) with output: 
{code}

while the prefer error message may look like:
{code}
appattempt_1391353981633_0003_000002 exited with exitCode: -1000 due to: Application application_1391353981633_0003 initialization failed (exitCode=139) with output: Requested user hdfs is banned 
{code}

just a minor bug and I would like to start contributing to hadoop-common with it:)




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)