You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Srimanth Gunturi (JIRA)" <ji...@apache.org> on 2014/10/29 03:40:33 UTC

[jira] [Created] (AMBARI-8012) Slider View: Creating apps with default user (yarn) wont work on secured HDP cluster

Srimanth Gunturi created AMBARI-8012:
----------------------------------------

             Summary: Slider View: Creating apps with default user (yarn) wont work on secured HDP cluster
                 Key: AMBARI-8012
                 URL: https://issues.apache.org/jira/browse/AMBARI-8012
             Project: Ambari
          Issue Type: Bug
          Components: contrib
    Affects Versions: 1.7.0
            Reporter: Srimanth Gunturi
            Assignee: Srimanth Gunturi
            Priority: Critical
             Fix For: 1.7.0


According to docs
https://github.com/apache/ambari/blob/5e5e715b6b15dffffe15418dfe5732835d24ef57/contrib/views/slider/docs/index.md
Slider user has to be present on all the hosts and needs to have a uid > 1000
"We shall assume the user as slider-user. In a secured cluster this user has to actually exist on all the hosts. The user should also have an uid greater than 1000."

Default slider user is yarn in current release
In case of HDP cluster being deployed by Ambari yarn user is created by Ambari and does not have uuid > 1000
So in such cases, using the default user for slider apps will not work. This needs to be either documented or we need to make change in Ambari code to always create yarn user with uuid > 1000

Exact error given by Slider:
{code}
Application application_1414536582941_0005 failed 2 times due to AM Container for appattempt_1414536582941_0005_000002 exited with exitCode: -1000
For more detailed output, check application tracking page:http://server:8088/proxy/application_1414536582941_0005/Then, click on links to logs of each attempt.
Diagnostics: Application application_1414536582941_0005 initialization failed (exitCode=255) with output: Requested user yarn is not whitelisted and has id 506,which is below the minimum allowed 1000
Failing this attempt. Failing the application.
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)