ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sid Wagle" <swa...@hortonworks.com>
Subject Review Request 17725: Rolling Restart not working
Date Tue, 04 Feb 2014 21:31:36 GMT

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

Review request for Ambari, Mahadev Konar and Sumit Mohanty.


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


Repository: ambari


Description
-------


Problem description:

Batch request to do rolling restart does not work.
The API says "201 created", but no requests are created.

Reason:

Server clock synced up with NTP daemon and was reset after Scheduler initialize and before
Scheduler start. 
This caused the Thread.sleep() in the Scheduler.startDelayed() to be paused for a long time
since the native implementation relies on server clock.


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/scheduler/ExecutionScheduleManager.java
d6d0439 
  ambari-server/src/main/java/org/apache/ambari/server/scheduler/ExecutionScheduler.java f75eb94

  ambari-server/src/main/java/org/apache/ambari/server/scheduler/ExecutionSchedulerImpl.java
488564f 
  ambari-server/src/test/java/org/apache/ambari/server/scheduler/ExecutionSchedulerTest.java
89c8d26 

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


Testing
-------


Thanks,

Sid Wagle


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