Robert Levas created AMBARI-13550:
-------------------------------------
Summary: 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
Fix For: 2.1.3
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)