[
https://issues.apache.org/jira/browse/AMBARI-8012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14187970#comment-14187970
]
Hudson commented on AMBARI-8012:
--------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #741 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/741/])
AMBARI-8012. Slider View: Creating apps with default user (yarn) wont work on
secured HDP cluster (srimanth) (sgunturi:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=54cba9cac6aab85bdb51015832bdb048566ff8d2)
*
contrib/views/slider/src/main/java/org/apache/ambari/view/slider/SliderAppsViewControllerImpl.java
* contrib/views/slider/docs/index.md
> 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
>
> Attachments: AMBARI-8012.patch, Screen Shot 2014-10-28 at 7.36.41
> PM.png
>
>
> 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)