ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alejandro Fernandez <afernan...@hortonworks.com>
Subject Re: Review Request 43277: EU: Oozie service check failed after downgrade with multiple Oozie servers since rerunning prepare-war removes webapps/oozie folder
Date Mon, 08 Feb 2016 19:03:55 GMT


> On Feb. 8, 2016, 3:15 p.m., Nate Cole wrote:
> > ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie.py,
lines 211-212
> > <https://reviews.apache.org/r/43277/diff/1/?file=1236937#file1236937line211>
> >
> >     Dangerous to assume /var/tmp/oozie even exists.  mkdir -p /var/tmp/oozie ?

Good call.


> On Feb. 8, 2016, 3:15 p.m., Nate Cole wrote:
> > ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie.py,
lines 238-239
> > <https://reviews.apache.org/r/43277/diff/1/?file=1236937#file1236937line238>
> >
> >     Feels dangerous to rely on console output.  Can check for file existence or
something a bit more concrete here?

This is how it's working today, so I want to keep it that way.


- Alejandro


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


On Feb. 6, 2016, 12:34 a.m., Alejandro Fernandez wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/43277/
> -----------------------------------------------------------
> 
> (Updated Feb. 6, 2016, 12:34 a.m.)
> 
> 
> Review request for Ambari, Jonathan Hurley, Jayush Luniya, Nate Cole, and Sid Wagle.
> 
> 
> Bugs: AMBARI-14950
>     https://issues.apache.org/jira/browse/AMBARI-14950
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> STR:
> 
> 1. Setup HDP 2.3.4.0 cluster with Ambari 2.2.1 (secure, multiple oozie servers)
> 2, Start Express Upgrade to HDP-2.4.0.0-149 and reach till Finalize step
> 3. Perform Downgrade back to original version and let it complete
> 4. Run service check for Oozie, which fails because /usr/hdp/current/oozie-server/oozie-server/webapps/oozie
is missing
> 
> There's a bug that the /usr/hdp/current/oozie-server/.prepare_war_cmd marker file is
still generated even if the prepare war command was not ran!
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie.py
24a35ad 
>   ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py
35975df 
>   ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server_upgrade.py
326e76c 
>   ambari-server/src/test/python/stacks/2.0.6/OOZIE/test_oozie_server.py 2183425 
> 
> Diff: https://reviews.apache.org/r/43277/diff/
> 
> 
> Testing
> -------
> 
> Verified on live cluster during EU + downgrade, and ran python unit tests.
> 
> Total run:886
> Total errors:0
> Total failures:0
> OK
> 
> 
> Thanks,
> 
> Alejandro Fernandez
> 
>


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