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)

Reply via email to