ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srimanth Gunturi (JIRA)" <>
Subject [jira] [Updated] (AMBARI-8012) Slider View: Creating apps with default user (yarn) wont work on secured HDP cluster
Date Wed, 29 Oct 2014 02:43:33 GMT


Srimanth Gunturi updated AMBARI-8012:
    Attachment: Screen Shot 2014-10-28 at 7.36.41 PM.png

Ambari purposefully disallows running as 'yarn' superuser on secured clusters. Slider view
will hence disallow creating of slider apps when 'yarn' superuser accesses it in secured cluster.

> Slider View: Creating apps with default user (yarn) wont work on secured HDP cluster
> ------------------------------------------------------------------------------------
>                 Key: AMBARI-8012
>                 URL:
>             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
>         Attachments: AMBARI-8012.patch, Screen Shot 2014-10-28 at 7.36.41 PM.png
> According to docs
> 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

View raw message