Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8E869176BE for ; Wed, 29 Oct 2014 02:43:34 +0000 (UTC) Received: (qmail 59139 invoked by uid 500); 29 Oct 2014 02:43:34 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 59112 invoked by uid 500); 29 Oct 2014 02:43:34 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 58913 invoked by uid 99); 29 Oct 2014 02:43:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Oct 2014 02:43:34 +0000 Date: Wed, 29 Oct 2014 02:43:34 +0000 (UTC) From: "Hadoop QA (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-8012) Slider View: Creating apps with default user (yarn) wont work on secured HDP cluster MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-8012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14187919#comment-14187919 ] Hadoop QA commented on AMBARI-8012: ----------------------------------- {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12677808/Screen%20Shot%202014-10-28%20at%207.36.41%20PM.png against trunk revision . {color:red}-1 patch{color}. The patch command could not apply the patch. Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/397//console This message is automatically generated. > 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)