You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Dmitro Lisnichenko <dl...@hortonworks.com> on 2014/11/12 20:39:38 UTC

Review Request 27919: Distribute Repositories/Install Components - custom action script

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

Review request for Ambari, Alejandro Fernandez, Nate Cole, and Yurii Shylov.


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


Repository: ambari


Description
-------

This is a preview patch. 


Diffs
-----

  ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py e0c5a28 
  ambari-common/src/main/python/resource_management/libraries/functions/list_ambari_managed_repos.py PRE-CREATION 
  ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariActionExecutionHelper.java 1899dde 
  ambari-server/src/main/resources/custom_action_definitions/system_action_definitions.xml cd5d5f7 
  ambari-server/src/main/resources/custom_actions/check_host.py  
  ambari-server/src/main/resources/custom_actions/scripts/install_packages.py PRE-CREATION 
  ambari-server/src/main/resources/custom_actions/templates/repo_suse_rhel.j2 PRE-CREATION 
  ambari-server/src/main/resources/custom_actions/templates/repo_ubuntu.j2 PRE-CREATION 
  ambari-server/src/main/resources/custom_actions/validate_configs.py  
  ambari-server/src/test/python/TestCheckHost.py 3cc590b 
  ambari-server/src/test/python/custom_actions/_TestInstallPackages.py PRE-CREATION 
  ambari-server/src/test/python/custom_actions/configs/install_packages_config.json PRE-CREATION 
  ambari-server/src/test/python/stacks/utils/RMFTestCase.py 10865fe 
  ambari-server/src/test/python/unitTests.py b4e3688 

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


Testing
-------

lacks


Thanks,

Dmitro Lisnichenko


Re: Review Request 27919: Distribute Repositories/Install Components - custom action script

Posted by Alejandro Fernandez <af...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27919/#review61477
-----------------------------------------------------------



ambari-server/src/main/resources/custom_actions/scripts/install_packages.py
<https://reviews.apache.org/r/27919/#comment103124>

    Please add some PyDoc for how this class relates to repo management.



ambari-server/src/test/python/stacks/utils/RMFTestCase.py
<https://reviews.apache.org/r/27919/#comment103129>

    I suggest using str(err) or err.message



ambari-server/src/test/python/unitTests.py
<https://reviews.apache.org/r/27919/#comment103119>

    We should make a habit of using os.path.join or os.sep


- Alejandro Fernandez


On Nov. 14, 2014, 6:53 p.m., Dmitro Lisnichenko wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/27919/
> -----------------------------------------------------------
> 
> (Updated Nov. 14, 2014, 6:53 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Nate Cole, and Yurii Shylov.
> 
> 
> Bugs: AMBARI-8298
>     https://issues.apache.org/jira/browse/AMBARI-8298
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Distribute Repositories/Install Components - custom action script
> 
> 
> Diffs
> -----
> 
>   ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py 7b5889c 
>   ambari-agent/src/test/python/resource_management/TestListAmbariManagedRepos.py PRE-CREATION 
>   ambari-common/src/main/python/resource_management/libraries/functions/list_ambari_managed_repos.py PRE-CREATION 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariActionExecutionHelper.java c3057cc 
>   ambari-server/src/main/resources/custom_action_definitions/system_action_definitions.xml cd5d5f7 
>   ambari-server/src/main/resources/custom_actions/check_host.py  
>   ambari-server/src/main/resources/custom_actions/scripts/install_packages.py PRE-CREATION 
>   ambari-server/src/main/resources/custom_actions/templates/repo_suse_rhel.j2 PRE-CREATION 
>   ambari-server/src/main/resources/custom_actions/templates/repo_ubuntu.j2 PRE-CREATION 
>   ambari-server/src/main/resources/custom_actions/validate_configs.py  
>   ambari-server/src/test/python/TestCheckHost.py d68c903 
>   ambari-server/src/test/python/custom_actions/TestInstallPackages.py PRE-CREATION 
>   ambari-server/src/test/python/custom_actions/configs/install_packages_config.json PRE-CREATION 
>   ambari-server/src/test/python/stacks/utils/RMFTestCase.py 10865fe 
>   ambari-server/src/test/python/unitTests.py f2ffacb 
> 
> Diff: https://reviews.apache.org/r/27919/diff/
> 
> 
> Testing
> -------
> 
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Ambari Main ....................................... SUCCESS [3.425s]
> [INFO] Apache Ambari Project POM ......................... SUCCESS [0.273s]
> [INFO] Ambari Web ........................................ SUCCESS [35.742s]
> [INFO] Ambari Views ...................................... SUCCESS [0.927s]
> [INFO] Ambari Admin View ................................. SUCCESS [9.479s]
> [INFO] Ambari Server ..................................... SUCCESS [26.684s]
> [INFO] Ambari Agent ...................................... SUCCESS [9.606s]
> [INFO] Ambari Client ..................................... SUCCESS [0.042s]
> [INFO] Ambari Python Client .............................. SUCCESS [0.276s]
> [INFO] Ambari Groovy Client .............................. SUCCESS [1.452s]
> [INFO] Ambari Shell ...................................... SUCCESS [0.032s]
> [INFO] Ambari Python Shell ............................... SUCCESS [0.045s]
> [INFO] Ambari Groovy Shell ............................... SUCCESS [0.583s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1:29.260s
> [INFO] Finished at: Fri Nov 14 20:50:47 FET 2014
> [INFO] Final Memory: 53M/395M
> [INFO] ------------------------------------------------------------------------
> 
> 
> Thanks,
> 
> Dmitro Lisnichenko
> 
>


Re: Review Request 27919: Distribute Repositories/Install Components - custom action script

Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.

> On Nov. 17, 2014, 1:37 p.m., Nate Cole wrote:
> > ambari-server/src/main/resources/custom_actions/scripts/install_packages.py, lines 81-85
> > <https://reviews.apache.org/r/27919/diff/3/?file=763819#file763819line81>
> >
> >     A repo file may contain many, does this need a loop?  Do the repo_suse_rhel.j2 file need a loop template also?

We decided to have individual files per repo version to avoid significant modifications to RMF


- Dmitro


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


On Nov. 14, 2014, 6:53 p.m., Dmitro Lisnichenko wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/27919/
> -----------------------------------------------------------
> 
> (Updated Nov. 14, 2014, 6:53 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Nate Cole, and Yurii Shylov.
> 
> 
> Bugs: AMBARI-8298
>     https://issues.apache.org/jira/browse/AMBARI-8298
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Distribute Repositories/Install Components - custom action script
> 
> 
> Diffs
> -----
> 
>   ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py 7b5889c 
>   ambari-agent/src/test/python/resource_management/TestListAmbariManagedRepos.py PRE-CREATION 
>   ambari-common/src/main/python/resource_management/libraries/functions/list_ambari_managed_repos.py PRE-CREATION 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariActionExecutionHelper.java c3057cc 
>   ambari-server/src/main/resources/custom_action_definitions/system_action_definitions.xml cd5d5f7 
>   ambari-server/src/main/resources/custom_actions/check_host.py  
>   ambari-server/src/main/resources/custom_actions/scripts/install_packages.py PRE-CREATION 
>   ambari-server/src/main/resources/custom_actions/templates/repo_suse_rhel.j2 PRE-CREATION 
>   ambari-server/src/main/resources/custom_actions/templates/repo_ubuntu.j2 PRE-CREATION 
>   ambari-server/src/main/resources/custom_actions/validate_configs.py  
>   ambari-server/src/test/python/TestCheckHost.py d68c903 
>   ambari-server/src/test/python/custom_actions/TestInstallPackages.py PRE-CREATION 
>   ambari-server/src/test/python/custom_actions/configs/install_packages_config.json PRE-CREATION 
>   ambari-server/src/test/python/stacks/utils/RMFTestCase.py 10865fe 
>   ambari-server/src/test/python/unitTests.py f2ffacb 
> 
> Diff: https://reviews.apache.org/r/27919/diff/
> 
> 
> Testing
> -------
> 
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Ambari Main ....................................... SUCCESS [3.425s]
> [INFO] Apache Ambari Project POM ......................... SUCCESS [0.273s]
> [INFO] Ambari Web ........................................ SUCCESS [35.742s]
> [INFO] Ambari Views ...................................... SUCCESS [0.927s]
> [INFO] Ambari Admin View ................................. SUCCESS [9.479s]
> [INFO] Ambari Server ..................................... SUCCESS [26.684s]
> [INFO] Ambari Agent ...................................... SUCCESS [9.606s]
> [INFO] Ambari Client ..................................... SUCCESS [0.042s]
> [INFO] Ambari Python Client .............................. SUCCESS [0.276s]
> [INFO] Ambari Groovy Client .............................. SUCCESS [1.452s]
> [INFO] Ambari Shell ...................................... SUCCESS [0.032s]
> [INFO] Ambari Python Shell ............................... SUCCESS [0.045s]
> [INFO] Ambari Groovy Shell ............................... SUCCESS [0.583s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1:29.260s
> [INFO] Finished at: Fri Nov 14 20:50:47 FET 2014
> [INFO] Final Memory: 53M/395M
> [INFO] ------------------------------------------------------------------------
> 
> 
> Thanks,
> 
> Dmitro Lisnichenko
> 
>


Re: Review Request 27919: Distribute Repositories/Install Components - custom action script

Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.

> On Nov. 17, 2014, 1:37 p.m., Nate Cole wrote:
> > ambari-server/src/main/resources/custom_actions/scripts/install_packages.py, lines 81-85
> > <https://reviews.apache.org/r/27919/diff/3/?file=763819#file763819line81>
> >
> >     A repo file may contain many, does this need a loop?  Do the repo_suse_rhel.j2 file need a loop template also?
> 
> Dmitro Lisnichenko wrote:
>     We decided to have individual files per repo version to avoid significant modifications to RMF
> 
> Nate Cole wrote:
>     Correct, but an individual file can have more than one base url

Current RMF implementation does not support defining multiple base urls per repo file. This change would require adjusting invocations at all stacks


- Dmitro


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


On Nov. 14, 2014, 6:53 p.m., Dmitro Lisnichenko wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/27919/
> -----------------------------------------------------------
> 
> (Updated Nov. 14, 2014, 6:53 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Nate Cole, and Yurii Shylov.
> 
> 
> Bugs: AMBARI-8298
>     https://issues.apache.org/jira/browse/AMBARI-8298
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Distribute Repositories/Install Components - custom action script
> 
> 
> Diffs
> -----
> 
>   ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py 7b5889c 
>   ambari-agent/src/test/python/resource_management/TestListAmbariManagedRepos.py PRE-CREATION 
>   ambari-common/src/main/python/resource_management/libraries/functions/list_ambari_managed_repos.py PRE-CREATION 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariActionExecutionHelper.java c3057cc 
>   ambari-server/src/main/resources/custom_action_definitions/system_action_definitions.xml cd5d5f7 
>   ambari-server/src/main/resources/custom_actions/check_host.py  
>   ambari-server/src/main/resources/custom_actions/scripts/install_packages.py PRE-CREATION 
>   ambari-server/src/main/resources/custom_actions/templates/repo_suse_rhel.j2 PRE-CREATION 
>   ambari-server/src/main/resources/custom_actions/templates/repo_ubuntu.j2 PRE-CREATION 
>   ambari-server/src/main/resources/custom_actions/validate_configs.py  
>   ambari-server/src/test/python/TestCheckHost.py d68c903 
>   ambari-server/src/test/python/custom_actions/TestInstallPackages.py PRE-CREATION 
>   ambari-server/src/test/python/custom_actions/configs/install_packages_config.json PRE-CREATION 
>   ambari-server/src/test/python/stacks/utils/RMFTestCase.py 10865fe 
>   ambari-server/src/test/python/unitTests.py f2ffacb 
> 
> Diff: https://reviews.apache.org/r/27919/diff/
> 
> 
> Testing
> -------
> 
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Ambari Main ....................................... SUCCESS [3.425s]
> [INFO] Apache Ambari Project POM ......................... SUCCESS [0.273s]
> [INFO] Ambari Web ........................................ SUCCESS [35.742s]
> [INFO] Ambari Views ...................................... SUCCESS [0.927s]
> [INFO] Ambari Admin View ................................. SUCCESS [9.479s]
> [INFO] Ambari Server ..................................... SUCCESS [26.684s]
> [INFO] Ambari Agent ...................................... SUCCESS [9.606s]
> [INFO] Ambari Client ..................................... SUCCESS [0.042s]
> [INFO] Ambari Python Client .............................. SUCCESS [0.276s]
> [INFO] Ambari Groovy Client .............................. SUCCESS [1.452s]
> [INFO] Ambari Shell ...................................... SUCCESS [0.032s]
> [INFO] Ambari Python Shell ............................... SUCCESS [0.045s]
> [INFO] Ambari Groovy Shell ............................... SUCCESS [0.583s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1:29.260s
> [INFO] Finished at: Fri Nov 14 20:50:47 FET 2014
> [INFO] Final Memory: 53M/395M
> [INFO] ------------------------------------------------------------------------
> 
> 
> Thanks,
> 
> Dmitro Lisnichenko
> 
>


Re: Review Request 27919: Distribute Repositories/Install Components - custom action script

Posted by Nate Cole <nc...@hortonworks.com>.

> On Nov. 17, 2014, 8:37 a.m., Nate Cole wrote:
> > ambari-server/src/main/resources/custom_actions/scripts/install_packages.py, lines 81-85
> > <https://reviews.apache.org/r/27919/diff/3/?file=763819#file763819line81>
> >
> >     A repo file may contain many, does this need a loop?  Do the repo_suse_rhel.j2 file need a loop template also?
> 
> Dmitro Lisnichenko wrote:
>     We decided to have individual files per repo version to avoid significant modifications to RMF

Correct, but an individual file can have more than one base url


- Nate


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


On Nov. 14, 2014, 1:53 p.m., Dmitro Lisnichenko wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/27919/
> -----------------------------------------------------------
> 
> (Updated Nov. 14, 2014, 1:53 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Nate Cole, and Yurii Shylov.
> 
> 
> Bugs: AMBARI-8298
>     https://issues.apache.org/jira/browse/AMBARI-8298
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Distribute Repositories/Install Components - custom action script
> 
> 
> Diffs
> -----
> 
>   ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py 7b5889c 
>   ambari-agent/src/test/python/resource_management/TestListAmbariManagedRepos.py PRE-CREATION 
>   ambari-common/src/main/python/resource_management/libraries/functions/list_ambari_managed_repos.py PRE-CREATION 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariActionExecutionHelper.java c3057cc 
>   ambari-server/src/main/resources/custom_action_definitions/system_action_definitions.xml cd5d5f7 
>   ambari-server/src/main/resources/custom_actions/check_host.py  
>   ambari-server/src/main/resources/custom_actions/scripts/install_packages.py PRE-CREATION 
>   ambari-server/src/main/resources/custom_actions/templates/repo_suse_rhel.j2 PRE-CREATION 
>   ambari-server/src/main/resources/custom_actions/templates/repo_ubuntu.j2 PRE-CREATION 
>   ambari-server/src/main/resources/custom_actions/validate_configs.py  
>   ambari-server/src/test/python/TestCheckHost.py d68c903 
>   ambari-server/src/test/python/custom_actions/TestInstallPackages.py PRE-CREATION 
>   ambari-server/src/test/python/custom_actions/configs/install_packages_config.json PRE-CREATION 
>   ambari-server/src/test/python/stacks/utils/RMFTestCase.py 10865fe 
>   ambari-server/src/test/python/unitTests.py f2ffacb 
> 
> Diff: https://reviews.apache.org/r/27919/diff/
> 
> 
> Testing
> -------
> 
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Ambari Main ....................................... SUCCESS [3.425s]
> [INFO] Apache Ambari Project POM ......................... SUCCESS [0.273s]
> [INFO] Ambari Web ........................................ SUCCESS [35.742s]
> [INFO] Ambari Views ...................................... SUCCESS [0.927s]
> [INFO] Ambari Admin View ................................. SUCCESS [9.479s]
> [INFO] Ambari Server ..................................... SUCCESS [26.684s]
> [INFO] Ambari Agent ...................................... SUCCESS [9.606s]
> [INFO] Ambari Client ..................................... SUCCESS [0.042s]
> [INFO] Ambari Python Client .............................. SUCCESS [0.276s]
> [INFO] Ambari Groovy Client .............................. SUCCESS [1.452s]
> [INFO] Ambari Shell ...................................... SUCCESS [0.032s]
> [INFO] Ambari Python Shell ............................... SUCCESS [0.045s]
> [INFO] Ambari Groovy Shell ............................... SUCCESS [0.583s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1:29.260s
> [INFO] Finished at: Fri Nov 14 20:50:47 FET 2014
> [INFO] Final Memory: 53M/395M
> [INFO] ------------------------------------------------------------------------
> 
> 
> Thanks,
> 
> Dmitro Lisnichenko
> 
>


Re: Review Request 27919: Distribute Repositories/Install Components - custom action script

Posted by Nate Cole <nc...@hortonworks.com>.

> On Nov. 17, 2014, 8:37 a.m., Nate Cole wrote:
> > ambari-server/src/main/resources/custom_actions/scripts/install_packages.py, lines 81-85
> > <https://reviews.apache.org/r/27919/diff/3/?file=763819#file763819line81>
> >
> >     A repo file may contain many, does this need a loop?  Do the repo_suse_rhel.j2 file need a loop template also?
> 
> Dmitro Lisnichenko wrote:
>     We decided to have individual files per repo version to avoid significant modifications to RMF
> 
> Nate Cole wrote:
>     Correct, but an individual file can have more than one base url
> 
> Dmitro Lisnichenko wrote:
>     Current RMF implementation does not support defining multiple base urls per repo file. This change would require adjusting invocations at all stacks

The new file "<version>.repo" needs to look like so:

[<repo-1-name]
baseurl=http://foo/bar

[<repo-2-name]
baseurl=http://bar/foo


- Nate


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


On Nov. 17, 2014, 12:45 p.m., Dmitro Lisnichenko wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/27919/
> -----------------------------------------------------------
> 
> (Updated Nov. 17, 2014, 12:45 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Nate Cole, and Yurii Shylov.
> 
> 
> Bugs: AMBARI-8298
>     https://issues.apache.org/jira/browse/AMBARI-8298
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Distribute Repositories/Install Components - custom action script
> 
> 
> Diffs
> -----
> 
>   ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py 7b5889c 
>   ambari-agent/src/test/python/resource_management/TestListAmbariManagedRepos.py PRE-CREATION 
>   ambari-common/src/main/python/resource_management/libraries/functions/list_ambari_managed_repos.py PRE-CREATION 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariActionExecutionHelper.java c3057cc 
>   ambari-server/src/main/resources/custom_action_definitions/system_action_definitions.xml cd5d5f7 
>   ambari-server/src/main/resources/custom_actions/check_host.py  
>   ambari-server/src/main/resources/custom_actions/scripts/install_packages.py PRE-CREATION 
>   ambari-server/src/main/resources/custom_actions/templates/repo_suse_rhel.j2 PRE-CREATION 
>   ambari-server/src/main/resources/custom_actions/templates/repo_ubuntu.j2 PRE-CREATION 
>   ambari-server/src/main/resources/custom_actions/validate_configs.py  
>   ambari-server/src/test/python/TestCheckHost.py d68c903 
>   ambari-server/src/test/python/custom_actions/TestInstallPackages.py PRE-CREATION 
>   ambari-server/src/test/python/custom_actions/configs/install_packages_config.json PRE-CREATION 
>   ambari-server/src/test/python/stacks/utils/RMFTestCase.py 10865fe 
>   ambari-server/src/test/python/unitTests.py f2ffacb 
> 
> Diff: https://reviews.apache.org/r/27919/diff/
> 
> 
> Testing
> -------
> 
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Ambari Main ....................................... SUCCESS [3.425s]
> [INFO] Apache Ambari Project POM ......................... SUCCESS [0.273s]
> [INFO] Ambari Web ........................................ SUCCESS [35.742s]
> [INFO] Ambari Views ...................................... SUCCESS [0.927s]
> [INFO] Ambari Admin View ................................. SUCCESS [9.479s]
> [INFO] Ambari Server ..................................... SUCCESS [26.684s]
> [INFO] Ambari Agent ...................................... SUCCESS [9.606s]
> [INFO] Ambari Client ..................................... SUCCESS [0.042s]
> [INFO] Ambari Python Client .............................. SUCCESS [0.276s]
> [INFO] Ambari Groovy Client .............................. SUCCESS [1.452s]
> [INFO] Ambari Shell ...................................... SUCCESS [0.032s]
> [INFO] Ambari Python Shell ............................... SUCCESS [0.045s]
> [INFO] Ambari Groovy Shell ............................... SUCCESS [0.583s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1:29.260s
> [INFO] Finished at: Fri Nov 14 20:50:47 FET 2014
> [INFO] Final Memory: 53M/395M
> [INFO] ------------------------------------------------------------------------
> 
> 
> Thanks,
> 
> Dmitro Lisnichenko
> 
>


Re: Review Request 27919: Distribute Repositories/Install Components - custom action script

Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.

> On Nov. 17, 2014, 1:37 p.m., Nate Cole wrote:
> > ambari-server/src/main/resources/custom_actions/scripts/install_packages.py, lines 81-85
> > <https://reviews.apache.org/r/27919/diff/3/?file=763819#file763819line81>
> >
> >     A repo file may contain many, does this need a loop?  Do the repo_suse_rhel.j2 file need a loop template also?
> 
> Dmitro Lisnichenko wrote:
>     We decided to have individual files per repo version to avoid significant modifications to RMF
> 
> Nate Cole wrote:
>     Correct, but an individual file can have more than one base url
> 
> Dmitro Lisnichenko wrote:
>     Current RMF implementation does not support defining multiple base urls per repo file. This change would require adjusting invocations at all stacks
> 
> Nate Cole wrote:
>     The new file "<version>.repo" needs to look like so:
>     
>     [<repo-1-name]
>     baseurl=http://foo/bar
>     
>     [<repo-2-name]
>     baseurl=http://bar/foo

Makes sense. I'll implement that as a separate jira


- Dmitro


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


On Nov. 17, 2014, 5:45 p.m., Dmitro Lisnichenko wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/27919/
> -----------------------------------------------------------
> 
> (Updated Nov. 17, 2014, 5:45 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Nate Cole, and Yurii Shylov.
> 
> 
> Bugs: AMBARI-8298
>     https://issues.apache.org/jira/browse/AMBARI-8298
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Distribute Repositories/Install Components - custom action script
> 
> 
> Diffs
> -----
> 
>   ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py 7b5889c 
>   ambari-agent/src/test/python/resource_management/TestListAmbariManagedRepos.py PRE-CREATION 
>   ambari-common/src/main/python/resource_management/libraries/functions/list_ambari_managed_repos.py PRE-CREATION 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariActionExecutionHelper.java c3057cc 
>   ambari-server/src/main/resources/custom_action_definitions/system_action_definitions.xml cd5d5f7 
>   ambari-server/src/main/resources/custom_actions/check_host.py  
>   ambari-server/src/main/resources/custom_actions/scripts/install_packages.py PRE-CREATION 
>   ambari-server/src/main/resources/custom_actions/templates/repo_suse_rhel.j2 PRE-CREATION 
>   ambari-server/src/main/resources/custom_actions/templates/repo_ubuntu.j2 PRE-CREATION 
>   ambari-server/src/main/resources/custom_actions/validate_configs.py  
>   ambari-server/src/test/python/TestCheckHost.py d68c903 
>   ambari-server/src/test/python/custom_actions/TestInstallPackages.py PRE-CREATION 
>   ambari-server/src/test/python/custom_actions/configs/install_packages_config.json PRE-CREATION 
>   ambari-server/src/test/python/stacks/utils/RMFTestCase.py 10865fe 
>   ambari-server/src/test/python/unitTests.py f2ffacb 
> 
> Diff: https://reviews.apache.org/r/27919/diff/
> 
> 
> Testing
> -------
> 
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Ambari Main ....................................... SUCCESS [3.425s]
> [INFO] Apache Ambari Project POM ......................... SUCCESS [0.273s]
> [INFO] Ambari Web ........................................ SUCCESS [35.742s]
> [INFO] Ambari Views ...................................... SUCCESS [0.927s]
> [INFO] Ambari Admin View ................................. SUCCESS [9.479s]
> [INFO] Ambari Server ..................................... SUCCESS [26.684s]
> [INFO] Ambari Agent ...................................... SUCCESS [9.606s]
> [INFO] Ambari Client ..................................... SUCCESS [0.042s]
> [INFO] Ambari Python Client .............................. SUCCESS [0.276s]
> [INFO] Ambari Groovy Client .............................. SUCCESS [1.452s]
> [INFO] Ambari Shell ...................................... SUCCESS [0.032s]
> [INFO] Ambari Python Shell ............................... SUCCESS [0.045s]
> [INFO] Ambari Groovy Shell ............................... SUCCESS [0.583s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1:29.260s
> [INFO] Finished at: Fri Nov 14 20:50:47 FET 2014
> [INFO] Final Memory: 53M/395M
> [INFO] ------------------------------------------------------------------------
> 
> 
> Thanks,
> 
> Dmitro Lisnichenko
> 
>


Re: Review Request 27919: Distribute Repositories/Install Components - custom action script

Posted by Nate Cole <nc...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27919/#review61718
-----------------------------------------------------------



ambari-server/src/main/resources/custom_actions/scripts/install_packages.py
<https://reviews.apache.org/r/27919/#comment103557>

    A repo file may contain many, does this need a loop?  Do the repo_suse_rhel.j2 file need a loop template also?


- Nate Cole


On Nov. 14, 2014, 1:53 p.m., Dmitro Lisnichenko wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/27919/
> -----------------------------------------------------------
> 
> (Updated Nov. 14, 2014, 1:53 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Nate Cole, and Yurii Shylov.
> 
> 
> Bugs: AMBARI-8298
>     https://issues.apache.org/jira/browse/AMBARI-8298
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Distribute Repositories/Install Components - custom action script
> 
> 
> Diffs
> -----
> 
>   ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py 7b5889c 
>   ambari-agent/src/test/python/resource_management/TestListAmbariManagedRepos.py PRE-CREATION 
>   ambari-common/src/main/python/resource_management/libraries/functions/list_ambari_managed_repos.py PRE-CREATION 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariActionExecutionHelper.java c3057cc 
>   ambari-server/src/main/resources/custom_action_definitions/system_action_definitions.xml cd5d5f7 
>   ambari-server/src/main/resources/custom_actions/check_host.py  
>   ambari-server/src/main/resources/custom_actions/scripts/install_packages.py PRE-CREATION 
>   ambari-server/src/main/resources/custom_actions/templates/repo_suse_rhel.j2 PRE-CREATION 
>   ambari-server/src/main/resources/custom_actions/templates/repo_ubuntu.j2 PRE-CREATION 
>   ambari-server/src/main/resources/custom_actions/validate_configs.py  
>   ambari-server/src/test/python/TestCheckHost.py d68c903 
>   ambari-server/src/test/python/custom_actions/TestInstallPackages.py PRE-CREATION 
>   ambari-server/src/test/python/custom_actions/configs/install_packages_config.json PRE-CREATION 
>   ambari-server/src/test/python/stacks/utils/RMFTestCase.py 10865fe 
>   ambari-server/src/test/python/unitTests.py f2ffacb 
> 
> Diff: https://reviews.apache.org/r/27919/diff/
> 
> 
> Testing
> -------
> 
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Ambari Main ....................................... SUCCESS [3.425s]
> [INFO] Apache Ambari Project POM ......................... SUCCESS [0.273s]
> [INFO] Ambari Web ........................................ SUCCESS [35.742s]
> [INFO] Ambari Views ...................................... SUCCESS [0.927s]
> [INFO] Ambari Admin View ................................. SUCCESS [9.479s]
> [INFO] Ambari Server ..................................... SUCCESS [26.684s]
> [INFO] Ambari Agent ...................................... SUCCESS [9.606s]
> [INFO] Ambari Client ..................................... SUCCESS [0.042s]
> [INFO] Ambari Python Client .............................. SUCCESS [0.276s]
> [INFO] Ambari Groovy Client .............................. SUCCESS [1.452s]
> [INFO] Ambari Shell ...................................... SUCCESS [0.032s]
> [INFO] Ambari Python Shell ............................... SUCCESS [0.045s]
> [INFO] Ambari Groovy Shell ............................... SUCCESS [0.583s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1:29.260s
> [INFO] Finished at: Fri Nov 14 20:50:47 FET 2014
> [INFO] Final Memory: 53M/395M
> [INFO] ------------------------------------------------------------------------
> 
> 
> Thanks,
> 
> Dmitro Lisnichenko
> 
>


Re: Review Request 27919: Distribute Repositories/Install Components - custom action script

Posted by Alejandro Fernandez <af...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27919/#review61793
-----------------------------------------------------------

Ship it!


Ship It!

- Alejandro Fernandez


On Nov. 17, 2014, 5:45 p.m., Dmitro Lisnichenko wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/27919/
> -----------------------------------------------------------
> 
> (Updated Nov. 17, 2014, 5:45 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Nate Cole, and Yurii Shylov.
> 
> 
> Bugs: AMBARI-8298
>     https://issues.apache.org/jira/browse/AMBARI-8298
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Distribute Repositories/Install Components - custom action script
> 
> 
> Diffs
> -----
> 
>   ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py 7b5889c 
>   ambari-agent/src/test/python/resource_management/TestListAmbariManagedRepos.py PRE-CREATION 
>   ambari-common/src/main/python/resource_management/libraries/functions/list_ambari_managed_repos.py PRE-CREATION 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariActionExecutionHelper.java c3057cc 
>   ambari-server/src/main/resources/custom_action_definitions/system_action_definitions.xml cd5d5f7 
>   ambari-server/src/main/resources/custom_actions/check_host.py  
>   ambari-server/src/main/resources/custom_actions/scripts/install_packages.py PRE-CREATION 
>   ambari-server/src/main/resources/custom_actions/templates/repo_suse_rhel.j2 PRE-CREATION 
>   ambari-server/src/main/resources/custom_actions/templates/repo_ubuntu.j2 PRE-CREATION 
>   ambari-server/src/main/resources/custom_actions/validate_configs.py  
>   ambari-server/src/test/python/TestCheckHost.py d68c903 
>   ambari-server/src/test/python/custom_actions/TestInstallPackages.py PRE-CREATION 
>   ambari-server/src/test/python/custom_actions/configs/install_packages_config.json PRE-CREATION 
>   ambari-server/src/test/python/stacks/utils/RMFTestCase.py 10865fe 
>   ambari-server/src/test/python/unitTests.py f2ffacb 
> 
> Diff: https://reviews.apache.org/r/27919/diff/
> 
> 
> Testing
> -------
> 
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Ambari Main ....................................... SUCCESS [3.425s]
> [INFO] Apache Ambari Project POM ......................... SUCCESS [0.273s]
> [INFO] Ambari Web ........................................ SUCCESS [35.742s]
> [INFO] Ambari Views ...................................... SUCCESS [0.927s]
> [INFO] Ambari Admin View ................................. SUCCESS [9.479s]
> [INFO] Ambari Server ..................................... SUCCESS [26.684s]
> [INFO] Ambari Agent ...................................... SUCCESS [9.606s]
> [INFO] Ambari Client ..................................... SUCCESS [0.042s]
> [INFO] Ambari Python Client .............................. SUCCESS [0.276s]
> [INFO] Ambari Groovy Client .............................. SUCCESS [1.452s]
> [INFO] Ambari Shell ...................................... SUCCESS [0.032s]
> [INFO] Ambari Python Shell ............................... SUCCESS [0.045s]
> [INFO] Ambari Groovy Shell ............................... SUCCESS [0.583s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1:29.260s
> [INFO] Finished at: Fri Nov 14 20:50:47 FET 2014
> [INFO] Final Memory: 53M/395M
> [INFO] ------------------------------------------------------------------------
> 
> 
> Thanks,
> 
> Dmitro Lisnichenko
> 
>


Re: Review Request 27919: Distribute Repositories/Install Components - custom action script

Posted by Yurii Shylov <yu...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27919/#review61904
-----------------------------------------------------------

Ship it!


Ship It!

- Yurii Shylov


On Ноя. 17, 2014, 5:45 п.п., Dmitro Lisnichenko wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/27919/
> -----------------------------------------------------------
> 
> (Updated Ноя. 17, 2014, 5:45 п.п.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Nate Cole, and Yurii Shylov.
> 
> 
> Bugs: AMBARI-8298
>     https://issues.apache.org/jira/browse/AMBARI-8298
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Distribute Repositories/Install Components - custom action script
> 
> 
> Diffs
> -----
> 
>   ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py 7b5889c 
>   ambari-agent/src/test/python/resource_management/TestListAmbariManagedRepos.py PRE-CREATION 
>   ambari-common/src/main/python/resource_management/libraries/functions/list_ambari_managed_repos.py PRE-CREATION 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariActionExecutionHelper.java c3057cc 
>   ambari-server/src/main/resources/custom_action_definitions/system_action_definitions.xml cd5d5f7 
>   ambari-server/src/main/resources/custom_actions/check_host.py  
>   ambari-server/src/main/resources/custom_actions/scripts/install_packages.py PRE-CREATION 
>   ambari-server/src/main/resources/custom_actions/templates/repo_suse_rhel.j2 PRE-CREATION 
>   ambari-server/src/main/resources/custom_actions/templates/repo_ubuntu.j2 PRE-CREATION 
>   ambari-server/src/main/resources/custom_actions/validate_configs.py  
>   ambari-server/src/test/python/TestCheckHost.py d68c903 
>   ambari-server/src/test/python/custom_actions/TestInstallPackages.py PRE-CREATION 
>   ambari-server/src/test/python/custom_actions/configs/install_packages_config.json PRE-CREATION 
>   ambari-server/src/test/python/stacks/utils/RMFTestCase.py 10865fe 
>   ambari-server/src/test/python/unitTests.py f2ffacb 
> 
> Diff: https://reviews.apache.org/r/27919/diff/
> 
> 
> Testing
> -------
> 
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Ambari Main ....................................... SUCCESS [3.425s]
> [INFO] Apache Ambari Project POM ......................... SUCCESS [0.273s]
> [INFO] Ambari Web ........................................ SUCCESS [35.742s]
> [INFO] Ambari Views ...................................... SUCCESS [0.927s]
> [INFO] Ambari Admin View ................................. SUCCESS [9.479s]
> [INFO] Ambari Server ..................................... SUCCESS [26.684s]
> [INFO] Ambari Agent ...................................... SUCCESS [9.606s]
> [INFO] Ambari Client ..................................... SUCCESS [0.042s]
> [INFO] Ambari Python Client .............................. SUCCESS [0.276s]
> [INFO] Ambari Groovy Client .............................. SUCCESS [1.452s]
> [INFO] Ambari Shell ...................................... SUCCESS [0.032s]
> [INFO] Ambari Python Shell ............................... SUCCESS [0.045s]
> [INFO] Ambari Groovy Shell ............................... SUCCESS [0.583s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1:29.260s
> [INFO] Finished at: Fri Nov 14 20:50:47 FET 2014
> [INFO] Final Memory: 53M/395M
> [INFO] ------------------------------------------------------------------------
> 
> 
> Thanks,
> 
> Dmitro Lisnichenko
> 
>


Re: Review Request 27919: Distribute Repositories/Install Components - custom action script

Posted by Nate Cole <nc...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27919/#review61906
-----------------------------------------------------------

Ship it!


Ship It!

- Nate Cole


On Nov. 17, 2014, 12:45 p.m., Dmitro Lisnichenko wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/27919/
> -----------------------------------------------------------
> 
> (Updated Nov. 17, 2014, 12:45 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Nate Cole, and Yurii Shylov.
> 
> 
> Bugs: AMBARI-8298
>     https://issues.apache.org/jira/browse/AMBARI-8298
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Distribute Repositories/Install Components - custom action script
> 
> 
> Diffs
> -----
> 
>   ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py 7b5889c 
>   ambari-agent/src/test/python/resource_management/TestListAmbariManagedRepos.py PRE-CREATION 
>   ambari-common/src/main/python/resource_management/libraries/functions/list_ambari_managed_repos.py PRE-CREATION 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariActionExecutionHelper.java c3057cc 
>   ambari-server/src/main/resources/custom_action_definitions/system_action_definitions.xml cd5d5f7 
>   ambari-server/src/main/resources/custom_actions/check_host.py  
>   ambari-server/src/main/resources/custom_actions/scripts/install_packages.py PRE-CREATION 
>   ambari-server/src/main/resources/custom_actions/templates/repo_suse_rhel.j2 PRE-CREATION 
>   ambari-server/src/main/resources/custom_actions/templates/repo_ubuntu.j2 PRE-CREATION 
>   ambari-server/src/main/resources/custom_actions/validate_configs.py  
>   ambari-server/src/test/python/TestCheckHost.py d68c903 
>   ambari-server/src/test/python/custom_actions/TestInstallPackages.py PRE-CREATION 
>   ambari-server/src/test/python/custom_actions/configs/install_packages_config.json PRE-CREATION 
>   ambari-server/src/test/python/stacks/utils/RMFTestCase.py 10865fe 
>   ambari-server/src/test/python/unitTests.py f2ffacb 
> 
> Diff: https://reviews.apache.org/r/27919/diff/
> 
> 
> Testing
> -------
> 
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Ambari Main ....................................... SUCCESS [3.425s]
> [INFO] Apache Ambari Project POM ......................... SUCCESS [0.273s]
> [INFO] Ambari Web ........................................ SUCCESS [35.742s]
> [INFO] Ambari Views ...................................... SUCCESS [0.927s]
> [INFO] Ambari Admin View ................................. SUCCESS [9.479s]
> [INFO] Ambari Server ..................................... SUCCESS [26.684s]
> [INFO] Ambari Agent ...................................... SUCCESS [9.606s]
> [INFO] Ambari Client ..................................... SUCCESS [0.042s]
> [INFO] Ambari Python Client .............................. SUCCESS [0.276s]
> [INFO] Ambari Groovy Client .............................. SUCCESS [1.452s]
> [INFO] Ambari Shell ...................................... SUCCESS [0.032s]
> [INFO] Ambari Python Shell ............................... SUCCESS [0.045s]
> [INFO] Ambari Groovy Shell ............................... SUCCESS [0.583s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1:29.260s
> [INFO] Finished at: Fri Nov 14 20:50:47 FET 2014
> [INFO] Final Memory: 53M/395M
> [INFO] ------------------------------------------------------------------------
> 
> 
> Thanks,
> 
> Dmitro Lisnichenko
> 
>


Re: Review Request 27919: Distribute Repositories/Install Components - custom action script

Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27919/
-----------------------------------------------------------

(Updated Nov. 17, 2014, 5:45 p.m.)


Review request for Ambari, Alejandro Fernandez, Nate Cole, and Yurii Shylov.


Changes
-------

Fixed Alejandro's comments.
Also refactored ambari-server/src/test/python/unitTests.py according to comments
 


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


Repository: ambari


Description
-------

Distribute Repositories/Install Components - custom action script


Diffs (updated)
-----

  ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py 7b5889c 
  ambari-agent/src/test/python/resource_management/TestListAmbariManagedRepos.py PRE-CREATION 
  ambari-common/src/main/python/resource_management/libraries/functions/list_ambari_managed_repos.py PRE-CREATION 
  ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariActionExecutionHelper.java c3057cc 
  ambari-server/src/main/resources/custom_action_definitions/system_action_definitions.xml cd5d5f7 
  ambari-server/src/main/resources/custom_actions/check_host.py  
  ambari-server/src/main/resources/custom_actions/scripts/install_packages.py PRE-CREATION 
  ambari-server/src/main/resources/custom_actions/templates/repo_suse_rhel.j2 PRE-CREATION 
  ambari-server/src/main/resources/custom_actions/templates/repo_ubuntu.j2 PRE-CREATION 
  ambari-server/src/main/resources/custom_actions/validate_configs.py  
  ambari-server/src/test/python/TestCheckHost.py d68c903 
  ambari-server/src/test/python/custom_actions/TestInstallPackages.py PRE-CREATION 
  ambari-server/src/test/python/custom_actions/configs/install_packages_config.json PRE-CREATION 
  ambari-server/src/test/python/stacks/utils/RMFTestCase.py 10865fe 
  ambari-server/src/test/python/unitTests.py f2ffacb 

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


Testing
-------

[INFO] Reactor Summary:
[INFO] 
[INFO] Ambari Main ....................................... SUCCESS [3.425s]
[INFO] Apache Ambari Project POM ......................... SUCCESS [0.273s]
[INFO] Ambari Web ........................................ SUCCESS [35.742s]
[INFO] Ambari Views ...................................... SUCCESS [0.927s]
[INFO] Ambari Admin View ................................. SUCCESS [9.479s]
[INFO] Ambari Server ..................................... SUCCESS [26.684s]
[INFO] Ambari Agent ...................................... SUCCESS [9.606s]
[INFO] Ambari Client ..................................... SUCCESS [0.042s]
[INFO] Ambari Python Client .............................. SUCCESS [0.276s]
[INFO] Ambari Groovy Client .............................. SUCCESS [1.452s]
[INFO] Ambari Shell ...................................... SUCCESS [0.032s]
[INFO] Ambari Python Shell ............................... SUCCESS [0.045s]
[INFO] Ambari Groovy Shell ............................... SUCCESS [0.583s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:29.260s
[INFO] Finished at: Fri Nov 14 20:50:47 FET 2014
[INFO] Final Memory: 53M/395M
[INFO] ------------------------------------------------------------------------


Thanks,

Dmitro Lisnichenko


Re: Review Request 27919: Distribute Repositories/Install Components - custom action script

Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27919/
-----------------------------------------------------------

(Updated Nov. 14, 2014, 6:53 p.m.)


Review request for Ambari, Alejandro Fernandez, Nate Cole, and Yurii Shylov.


Changes
-------

Merged with latest trunk


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


Repository: ambari


Description
-------

Distribute Repositories/Install Components - custom action script


Diffs (updated)
-----

  ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py 7b5889c 
  ambari-agent/src/test/python/resource_management/TestListAmbariManagedRepos.py PRE-CREATION 
  ambari-common/src/main/python/resource_management/libraries/functions/list_ambari_managed_repos.py PRE-CREATION 
  ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariActionExecutionHelper.java c3057cc 
  ambari-server/src/main/resources/custom_action_definitions/system_action_definitions.xml cd5d5f7 
  ambari-server/src/main/resources/custom_actions/check_host.py  
  ambari-server/src/main/resources/custom_actions/scripts/install_packages.py PRE-CREATION 
  ambari-server/src/main/resources/custom_actions/templates/repo_suse_rhel.j2 PRE-CREATION 
  ambari-server/src/main/resources/custom_actions/templates/repo_ubuntu.j2 PRE-CREATION 
  ambari-server/src/main/resources/custom_actions/validate_configs.py  
  ambari-server/src/test/python/TestCheckHost.py d68c903 
  ambari-server/src/test/python/custom_actions/TestInstallPackages.py PRE-CREATION 
  ambari-server/src/test/python/custom_actions/configs/install_packages_config.json PRE-CREATION 
  ambari-server/src/test/python/stacks/utils/RMFTestCase.py 10865fe 
  ambari-server/src/test/python/unitTests.py f2ffacb 

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


Testing
-------

[INFO] Reactor Summary:
[INFO] 
[INFO] Ambari Main ....................................... SUCCESS [3.425s]
[INFO] Apache Ambari Project POM ......................... SUCCESS [0.273s]
[INFO] Ambari Web ........................................ SUCCESS [35.742s]
[INFO] Ambari Views ...................................... SUCCESS [0.927s]
[INFO] Ambari Admin View ................................. SUCCESS [9.479s]
[INFO] Ambari Server ..................................... SUCCESS [26.684s]
[INFO] Ambari Agent ...................................... SUCCESS [9.606s]
[INFO] Ambari Client ..................................... SUCCESS [0.042s]
[INFO] Ambari Python Client .............................. SUCCESS [0.276s]
[INFO] Ambari Groovy Client .............................. SUCCESS [1.452s]
[INFO] Ambari Shell ...................................... SUCCESS [0.032s]
[INFO] Ambari Python Shell ............................... SUCCESS [0.045s]
[INFO] Ambari Groovy Shell ............................... SUCCESS [0.583s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:29.260s
[INFO] Finished at: Fri Nov 14 20:50:47 FET 2014
[INFO] Final Memory: 53M/395M
[INFO] ------------------------------------------------------------------------


Thanks,

Dmitro Lisnichenko


Re: Review Request 27919: Distribute Repositories/Install Components - custom action script

Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27919/
-----------------------------------------------------------

(Updated Nov. 14, 2014, 5:56 p.m.)


Review request for Ambari, Alejandro Fernandez, Nate Cole, and Yurii Shylov.


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


Repository: ambari


Description
-------

Distribute Repositories/Install Components - custom action script


Diffs (updated)
-----

  ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py e0c5a28 
  ambari-agent/src/test/python/resource_management/TestListAmbariManagedRepos.py PRE-CREATION 
  ambari-common/src/main/python/resource_management/libraries/functions/list_ambari_managed_repos.py PRE-CREATION 
  ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariActionExecutionHelper.java 1899dde 
  ambari-server/src/main/resources/custom_action_definitions/system_action_definitions.xml cd5d5f7 
  ambari-server/src/main/resources/custom_actions/check_host.py  
  ambari-server/src/main/resources/custom_actions/scripts/install_packages.py PRE-CREATION 
  ambari-server/src/main/resources/custom_actions/templates/repo_suse_rhel.j2 PRE-CREATION 
  ambari-server/src/main/resources/custom_actions/templates/repo_ubuntu.j2 PRE-CREATION 
  ambari-server/src/main/resources/custom_actions/validate_configs.py  
  ambari-server/src/test/python/TestCheckHost.py 3cc590b 
  ambari-server/src/test/python/custom_actions/TestInstallPackages.py PRE-CREATION 
  ambari-server/src/test/python/custom_actions/configs/install_packages_config.json PRE-CREATION 
  ambari-server/src/test/python/stacks/utils/RMFTestCase.py 10865fe 
  ambari-server/src/test/python/unitTests.py b4e3688 

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


Testing
-------

[INFO] Reactor Summary:
[INFO] 
[INFO] Ambari Main ....................................... SUCCESS [3.425s]
[INFO] Apache Ambari Project POM ......................... SUCCESS [0.273s]
[INFO] Ambari Web ........................................ SUCCESS [35.742s]
[INFO] Ambari Views ...................................... SUCCESS [0.927s]
[INFO] Ambari Admin View ................................. SUCCESS [9.479s]
[INFO] Ambari Server ..................................... SUCCESS [26.684s]
[INFO] Ambari Agent ...................................... SUCCESS [9.606s]
[INFO] Ambari Client ..................................... SUCCESS [0.042s]
[INFO] Ambari Python Client .............................. SUCCESS [0.276s]
[INFO] Ambari Groovy Client .............................. SUCCESS [1.452s]
[INFO] Ambari Shell ...................................... SUCCESS [0.032s]
[INFO] Ambari Python Shell ............................... SUCCESS [0.045s]
[INFO] Ambari Groovy Shell ............................... SUCCESS [0.583s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:29.260s
[INFO] Finished at: Fri Nov 14 20:50:47 FET 2014
[INFO] Final Memory: 53M/395M
[INFO] ------------------------------------------------------------------------


Thanks,

Dmitro Lisnichenko


Re: Review Request 27919: Distribute Repositories/Install Components - custom action script

Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27919/
-----------------------------------------------------------

(Updated Nov. 14, 2014, 5:53 p.m.)


Review request for Ambari, Alejandro Fernandez, Nate Cole, and Yurii Shylov.


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


Repository: ambari


Description (updated)
-------

Distribute Repositories/Install Components - custom action script


Diffs
-----

  ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py e0c5a28 
  ambari-common/src/main/python/resource_management/libraries/functions/list_ambari_managed_repos.py PRE-CREATION 
  ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariActionExecutionHelper.java 1899dde 
  ambari-server/src/main/resources/custom_action_definitions/system_action_definitions.xml cd5d5f7 
  ambari-server/src/main/resources/custom_actions/check_host.py  
  ambari-server/src/main/resources/custom_actions/scripts/install_packages.py PRE-CREATION 
  ambari-server/src/main/resources/custom_actions/templates/repo_suse_rhel.j2 PRE-CREATION 
  ambari-server/src/main/resources/custom_actions/templates/repo_ubuntu.j2 PRE-CREATION 
  ambari-server/src/main/resources/custom_actions/validate_configs.py  
  ambari-server/src/test/python/TestCheckHost.py 3cc590b 
  ambari-server/src/test/python/custom_actions/_TestInstallPackages.py PRE-CREATION 
  ambari-server/src/test/python/custom_actions/configs/install_packages_config.json PRE-CREATION 
  ambari-server/src/test/python/stacks/utils/RMFTestCase.py 10865fe 
  ambari-server/src/test/python/unitTests.py b4e3688 

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


Testing (updated)
-------

[INFO] Reactor Summary:
[INFO] 
[INFO] Ambari Main ....................................... SUCCESS [3.425s]
[INFO] Apache Ambari Project POM ......................... SUCCESS [0.273s]
[INFO] Ambari Web ........................................ SUCCESS [35.742s]
[INFO] Ambari Views ...................................... SUCCESS [0.927s]
[INFO] Ambari Admin View ................................. SUCCESS [9.479s]
[INFO] Ambari Server ..................................... SUCCESS [26.684s]
[INFO] Ambari Agent ...................................... SUCCESS [9.606s]
[INFO] Ambari Client ..................................... SUCCESS [0.042s]
[INFO] Ambari Python Client .............................. SUCCESS [0.276s]
[INFO] Ambari Groovy Client .............................. SUCCESS [1.452s]
[INFO] Ambari Shell ...................................... SUCCESS [0.032s]
[INFO] Ambari Python Shell ............................... SUCCESS [0.045s]
[INFO] Ambari Groovy Shell ............................... SUCCESS [0.583s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:29.260s
[INFO] Finished at: Fri Nov 14 20:50:47 FET 2014
[INFO] Final Memory: 53M/395M
[INFO] ------------------------------------------------------------------------


Thanks,

Dmitro Lisnichenko