ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitro Lisnichenko" <dlysniche...@hortonworks.com>
Subject Review Request 39663: RU - Downgrade from 2.3 to 2.2 may fail if configs were not back'ed up
Date Mon, 26 Oct 2015 18:11:37 GMT

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

Review request for Ambari, Alejandro Fernandez, Dmytro Grinenko, Jonathan Hurley, and Nate
Cole.


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


Repository: ambari


Description
-------

Decided to downgrade before the configs were back'ed up, so in ru_set_all.py's _unlink_config()
method, it failed while calling "mv".

Fixed the python code to corespond to method pydoc


Diffs
-----

  ambari-server/src/main/resources/custom_actions/scripts/ru_set_all.py 6e5ddd2 
  ambari-server/src/test/python/custom_actions/test_ru_set_all.py b102b4e 

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


Testing
-------

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


Thanks,

Dmitro Lisnichenko


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