ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Beerbower" <tbeerbo...@hortonworks.com>
Subject Review Request 32865: Generate topology script on service start
Date Sat, 04 Apr 2015 22:53:36 GMT

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

Review request for Ambari and Andrew Onischuk.


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


Repository: ambari


Description
-------

With rack awareness, the topology script for needs to be generated prior to HDFS and YARN
services starting for the first time.
This is simply a matter of setting the command param refresh_topology=True for the service
START command from Ambari server. It is currently set for the RESTART command.


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelper.java
cfc1d4e 
  ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
a3ede22 
  ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelperTest.java
ee56ea7 

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


Testing
-------

Manual tested install new cluster and verify that topology script is created when services
start.

New unit test added.

All tests pass ...

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 35:06 min
[INFO] Finished at: 2015-04-04T18:34:15-04:00
[INFO] Final Memory: 52M/697M
[INFO] ------------------------------------------------------------------------


Thanks,

Tom Beerbower


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