ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Florian Barca" <fba...@hortonworks.com>
Subject Review Request 32294: Agent Automatic Bootstrap: Install and setup Ambari Agent
Date Fri, 20 Mar 2015 21:02:10 GMT

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

Review request for Ambari, Artem Baranchuk, Alejandro Fernandez, Eugene Chekanskiy, Jayush
Luniya, and Mahadev Konar.


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


Repository: ambari


Description
-------

Implemented setupAgent.py on Windows.
+Downloading the Agent msi from the URL received as parameter
+Installing, configuring & starting the Agent as a Windows service


Diffs
-----

  ambari-agent/conf/windows/service_wrapper.py 5eb06c48894d710da0a84a66c3cc94a3b0460257 
  ambari-agent/src/main/python/ambari_agent/AmbariConfig.py 897572942f9af3caac18e22cc86f2baf333356bf

  ambari-common/src/main/python/ambari_commons/os_linux.py 8599a0d81d0b71d432a1e24f877de5dfc0c0178c

  ambari-common/src/main/python/ambari_commons/os_utils.py c6a38321c629166f7e12cbc69f0e87fb7ff47c56

  ambari-common/src/main/python/ambari_commons/os_windows.py e413b8e1d79df4a1b8eda8a21c4e8109af329cc6

  ambari-common/src/main/python/resource_management/libraries/functions/install_hdp_msi.py
8f32378f38192c0ba9d4d1dde885362c652936ee 
  ambari-server/src/main/python/setupAgent.py 70dd91ff5bd839b709907b0b4144e298554febe4 
  ambari-server/src/test/python/TestSetupAgent.py 031a6423742a831687c4e6c52d0e488f8f87a379


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


Testing
-------

mvn clean test

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Ambari Main ........................................ SUCCESS [  4.198 s]
[INFO] Apache Ambari Project POM .......................... SUCCESS [  0.057 s]
[INFO] Ambari Web ......................................... SUCCESS [ 35.034 s]
[INFO] Ambari Views ....................................... SUCCESS [  2.345 s]
[INFO] Ambari Admin View .................................. SUCCESS [ 10.042 s]
[INFO] Ambari Metrics Common .............................. SUCCESS [  1.739 s]
[INFO] Ambari Server ...................................... SUCCESS [02:00 min]
[INFO] Ambari Agent ....................................... SUCCESS [ 25.146 s]
[INFO] Ambari Client ...................................... SUCCESS [  0.053 s]
[INFO] Ambari Python Client ............................... SUCCESS [  1.475 s]
[INFO] Ambari Groovy Client ............................... SUCCESS [  9.507 s]
[INFO] Ambari Shell ....................................... SUCCESS [  0.045 s]
[INFO] Ambari Python Shell ................................ SUCCESS [  0.776 s]
[INFO] Ambari Groovy Shell ................................ SUCCESS [  7.282 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:38 min
[INFO] Finished at: 2015-03-20T14:01:19-07:00
[INFO] Final Memory: 69M/453M
[INFO] ------------------------------------------------------------------------

ran the setup script locally -> Agent installation ok


Thanks,

Florian Barca


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