ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley" <jhur...@hortonworks.com>
Subject Re: Review Request 39637: ActionScheduler#filterParallelPerHostStages should not filter out stages with server-side actions
Date Mon, 26 Oct 2015 15:50:53 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/39637/#review104026
-----------------------------------------------------------

Ship it!


Ship It!

- Jonathan Hurley


On Oct. 25, 2015, 6:51 p.m., Robert Levas wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/39637/
> -----------------------------------------------------------
> 
> (Updated Oct. 25, 2015, 6:51 p.m.)
> 
> 
> Review request for Ambari, Jonathan Hurley, Nate Cole, Robert Nettleton, and Sandor Magyari.
> 
> 
> Bugs: AMBARI-13550
>     https://issues.apache.org/jira/browse/AMBARI-13550
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> 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.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/java/org/apache/ambari/server/actionmanager/ActionScheduler.java
3f289b2 
>   ambari-server/src/main/java/org/apache/ambari/server/actionmanager/Stage.java 8b2703c

>   ambari-server/src/test/java/org/apache/ambari/server/actionmanager/TestActionScheduler.java
f8f9ce9 
> 
> Diff: https://reviews.apache.org/r/39637/diff/
> 
> 
> Testing
> -------
> 
> Manually tested in cluster... testing kerberizing and rolling upgrades.
> 
> #Jenkins test results: PENDING
> 
> 
> Thanks,
> 
> Robert Levas
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message