You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Jonathan Hurley <jh...@hortonworks.com> on 2015/08/11 19:41:45 UTC

Review Request 37360: Oozie RU Downgrade Fails When Agents Run As Non-Root

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

Review request for Ambari, Alejandro Fernandez and Nate Cole.


Bugs: AMBARI-12726
    https://issues.apache.org/jira/browse/AMBARI-12726


Repository: ambari


Description
-------

Cluster was upgraded to 2.3.2.0-2606. On last step finalization was not performed. Instead Downgrade button was clicked. Downgrade failed on Oozie server restart.

This is when running agents as a user other than root.

The copy fails because the target is only writable by root since it was created from the yum install command (which runs with sudo).


Diffs
-----

  ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server_upgrade.py 0dc0057 
  ambari-server/src/test/python/stacks/2.0.6/OOZIE/test_oozie_server.py d3242cb 

Diff: https://reviews.apache.org/r/37360/diff/


Testing
-------

Tested on the failing cluster to ensure that Oozie can downgrade.

----------------------------------------------------------------------
Total run:786
Total errors:0
Total failures:0
OK


Thanks,

Jonathan Hurley


Re: Review Request 37360: Oozie RU Downgrade Fails When Agents Run As Non-Root

Posted by Nate Cole <nc...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37360/#review94964
-----------------------------------------------------------

Ship it!


Ship It!

- Nate Cole


On Aug. 11, 2015, 1:41 p.m., Jonathan Hurley wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/37360/
> -----------------------------------------------------------
> 
> (Updated Aug. 11, 2015, 1:41 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez and Nate Cole.
> 
> 
> Bugs: AMBARI-12726
>     https://issues.apache.org/jira/browse/AMBARI-12726
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Cluster was upgraded to 2.3.2.0-2606. On last step finalization was not performed. Instead Downgrade button was clicked. Downgrade failed on Oozie server restart.
> 
> This is when running agents as a user other than root.
> 
> The copy fails because the target is only writable by root since it was created from the yum install command (which runs with sudo).
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server_upgrade.py 0dc0057 
>   ambari-server/src/test/python/stacks/2.0.6/OOZIE/test_oozie_server.py d3242cb 
> 
> Diff: https://reviews.apache.org/r/37360/diff/
> 
> 
> Testing
> -------
> 
> Tested on the failing cluster to ensure that Oozie can downgrade.
> 
> ----------------------------------------------------------------------
> Total run:786
> Total errors:0
> Total failures:0
> OK
> 
> 
> Thanks,
> 
> Jonathan Hurley
> 
>