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 59F4318F71 for ; Wed, 28 Oct 2015 22:19:32 +0000 (UTC) Received: (qmail 60496 invoked by uid 500); 28 Oct 2015 22:19:28 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 60317 invoked by uid 500); 28 Oct 2015 22:19:28 -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 59756 invoked by uid 99); 28 Oct 2015 22:19:28 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2015 22:19:28 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1429E2C1F58 for ; Wed, 28 Oct 2015 22:19:28 +0000 (UTC) Date: Wed, 28 Oct 2015 22:19:28 +0000 (UTC) From: "Hudson (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-13550) ActionScheduler#filterParallelPerHostStages should not filter out stages with server-side actions 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-13550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14979361#comment-14979361 ] Hudson commented on AMBARI-13550: --------------------------------- FAILURE: Integrated in Ambari-branch-2.1 #761 (See [https://builds.apache.org/job/Ambari-branch-2.1/761/]) AMBARI-13550. ActionScheduler#filterParallelPerHostStages should not (rlevas: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=48c9c7412c12e88223d343800b3927390f76bd6f]) * ambari-server/src/test/java/org/apache/ambari/server/actionmanager/TestActionScheduler.java * ambari-server/src/main/java/org/apache/ambari/server/actionmanager/Stage.java * ambari-server/src/main/java/org/apache/ambari/server/actionmanager/ActionScheduler.java > ActionScheduler#filterParallelPerHostStages should not filter out stages with server-side actions > ------------------------------------------------------------------------------------------------- > > Key: AMBARI-13550 > URL: https://issues.apache.org/jira/browse/AMBARI-13550 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.1.3 > Reporter: Robert Levas > Assignee: Robert Levas > Priority: Critical > Labels: actions, kerberos > Fix For: 2.1.3 > > Attachments: AMBARI-13550_branch-2.1_01.patch, AMBARI-13550_branch-2.1_02.patch, AMBARI-13550_trunk_01.patch, AMBARI-13550_trunk_02.patch > > > org.apache.ambari.server.actionmanager.ActionScheduler#filterParallelPerHostStages should not filter out stages that contain server-side actions (to be executed on the Ambari server host). This is because tasks in these stages are typically required to complete before other stages on other hosts are executed. > For example while enabling Kerberos for an added service, principals and keytab files need to be created before the stage to distribute the key tab files. The principal and keytab file creation happens on the Ambari server (as server-side actions) and the distribution tasks happen on the relevant hosts. If the server-side stages are filtered out (in the event multiple stages are pending for the Ambari server host), then one or more might be skipped and the distribution task is queued. In this scenario, the distribution stage will fail since the required keytab files will not have been created. -- This message was sent by Atlassian JIRA (v6.3.4#6332)