ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitro Lisnichenko" <dlysniche...@hortonworks.com>
Subject Re: Review Request 35690: Add to ambari-server restart ability to handle hung INSTALLING repo version state
Date Sat, 20 Jun 2015 15:58:19 GMT

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

(Updated June 20, 2015, 3:58 p.m.)


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


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


Repository: ambari


Description (updated)
-------

StackVersionListener is fragile by it's nature.
This jira focuses on mitigating any issues that may occur (recovery to a valid state without
direct edits to database)
If Ambari Server restarts and any version is still in INSTALLING state, it should transition
to INSTALL_FAILED so the user can retry.

Also helps against accidental server restart during install repo version


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/StateRecoveryManager.java PRE-CREATION

  ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java e430c98

  ambari-server/src/test/java/org/apache/ambari/server/StateRecoveryManagerTest.java PRE-CREATION


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


Testing
-------

checked recovery and normal workflow on live cluster

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Ambari Views ...................................... SUCCESS [2.938s]
[INFO] Ambari Metrics Common ............................. SUCCESS [1.519s]
[INFO] Ambari Server ..................................... SUCCESS [45:12.130s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 45:22.579s
[INFO] Finished at: Sat Jun 20 17:21:05 EEST 2015
[INFO] Final Memory: 37M/289M
[INFO] ------------------------------------------------------------------------


Thanks,

Dmitro Lisnichenko


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