You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@ambari.apache.org by Nate Cole <nc...@hortonworks.com> on 2016/04/04 23:00:53 UTC

Review Request 45703: Allow skipping creation of repo files

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

Review request for Ambari, Alejandro Fernandez, Dmitro Lisnichenko, and Jonathan Hurley.


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


Repository: ambari


Description
-------

RH Satellite requires that Ambari not manage the repositories for an OS.  Add an attribute to OperatingSystems that gets persisted to do this work.


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelper.java f3197cb 
  ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java a0b98f7 
  ambari-server/src/main/java/org/apache/ambari/server/controller/OperatingSystemResponse.java 06b4148 
  ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java bb50820 
  ambari-server/src/main/java/org/apache/ambari/server/controller/internal/OperatingSystemResourceProvider.java fd4a91f 
  ambari-server/src/main/java/org/apache/ambari/server/orm/entities/OperatingSystemEntity.java 3c881a1 
  ambari-server/src/main/java/org/apache/ambari/server/state/stack/upgrade/RepositoryVersionHelper.java 6a36522 
  ambari-server/src/main/resources/custom_actions/scripts/install_packages.py c01dbb3 
  ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/repo_initialization.py 05751fa 
  ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProviderTest.java 4da8896 
  ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RepositoryVersionResourceProviderTest.java e031fc8 
  ambari-server/src/test/python/custom_actions/TestInstallPackages.py ad4206b 
  ambari-server/src/test/python/stacks/2.0.6/hooks/before-INSTALL/test_before_install.py aacd1f2 

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


Testing
-------

Manual.  Automated pending


Thanks,

Nate Cole


Re: Review Request 45703: Allow skipping creation of repo files

Posted by Jayush Luniya <jl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45703/#review127012
-----------------------------------------------------------


Ship it!




Ship It!

- Jayush Luniya


On April 4, 2016, 9 p.m., Nate Cole wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45703/
> -----------------------------------------------------------
> 
> (Updated April 4, 2016, 9 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Dmitro Lisnichenko, and Jonathan Hurley.
> 
> 
> Bugs: AMBARI-15697
>     https://issues.apache.org/jira/browse/AMBARI-15697
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> RH Satellite requires that Ambari not manage the repositories for an OS.  Add an attribute to OperatingSystems that gets persisted to do this work.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelper.java f3197cb 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java a0b98f7 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/OperatingSystemResponse.java 06b4148 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java bb50820 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/internal/OperatingSystemResourceProvider.java fd4a91f 
>   ambari-server/src/main/java/org/apache/ambari/server/orm/entities/OperatingSystemEntity.java 3c881a1 
>   ambari-server/src/main/java/org/apache/ambari/server/state/stack/upgrade/RepositoryVersionHelper.java 6a36522 
>   ambari-server/src/main/resources/custom_actions/scripts/install_packages.py c01dbb3 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/repo_initialization.py 05751fa 
>   ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProviderTest.java 4da8896 
>   ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RepositoryVersionResourceProviderTest.java e031fc8 
>   ambari-server/src/test/python/custom_actions/TestInstallPackages.py ad4206b 
>   ambari-server/src/test/python/stacks/2.0.6/hooks/before-INSTALL/test_before_install.py aacd1f2 
> 
> Diff: https://reviews.apache.org/r/45703/diff/
> 
> 
> Testing
> -------
> 
> Manual.  Automated pending
> 
> 
> Thanks,
> 
> Nate Cole
> 
>


Re: Review Request 45703: Allow skipping creation of repo files

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

> On April 4, 2016, 10:26 p.m., Jonathan Hurley wrote:
> > ambari-server/src/main/resources/custom_actions/scripts/install_packages.py, lines 121-122
> > <https://reviews.apache.org/r/45703/diff/1/?file=1324948#file1324948line121>
> >
> >     Is this really a warning? Kind of odd to warn on a feature.

Will fix.


- Nate


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


On April 4, 2016, 5 p.m., Nate Cole wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45703/
> -----------------------------------------------------------
> 
> (Updated April 4, 2016, 5 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Dmitro Lisnichenko, and Jonathan Hurley.
> 
> 
> Bugs: AMBARI-15697
>     https://issues.apache.org/jira/browse/AMBARI-15697
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> RH Satellite requires that Ambari not manage the repositories for an OS.  Add an attribute to OperatingSystems that gets persisted to do this work.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelper.java f3197cb 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java a0b98f7 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/OperatingSystemResponse.java 06b4148 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java bb50820 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/internal/OperatingSystemResourceProvider.java fd4a91f 
>   ambari-server/src/main/java/org/apache/ambari/server/orm/entities/OperatingSystemEntity.java 3c881a1 
>   ambari-server/src/main/java/org/apache/ambari/server/state/stack/upgrade/RepositoryVersionHelper.java 6a36522 
>   ambari-server/src/main/resources/custom_actions/scripts/install_packages.py c01dbb3 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/repo_initialization.py 05751fa 
>   ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProviderTest.java 4da8896 
>   ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RepositoryVersionResourceProviderTest.java e031fc8 
>   ambari-server/src/test/python/custom_actions/TestInstallPackages.py ad4206b 
>   ambari-server/src/test/python/stacks/2.0.6/hooks/before-INSTALL/test_before_install.py aacd1f2 
> 
> Diff: https://reviews.apache.org/r/45703/diff/
> 
> 
> Testing
> -------
> 
> Manual.  Automated pending
> 
> 
> Thanks,
> 
> Nate Cole
> 
>


Re: Review Request 45703: Allow skipping creation of repo files

Posted by Jonathan Hurley <jh...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45703/#review127013
-----------------------------------------------------------


Ship it!





ambari-server/src/main/resources/custom_actions/scripts/install_packages.py (lines 121 - 122)
<https://reviews.apache.org/r/45703/#comment190139>

    Is this really a warning? Kind of odd to warn on a feature.


- Jonathan Hurley


On April 4, 2016, 5 p.m., Nate Cole wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45703/
> -----------------------------------------------------------
> 
> (Updated April 4, 2016, 5 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Dmitro Lisnichenko, and Jonathan Hurley.
> 
> 
> Bugs: AMBARI-15697
>     https://issues.apache.org/jira/browse/AMBARI-15697
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> RH Satellite requires that Ambari not manage the repositories for an OS.  Add an attribute to OperatingSystems that gets persisted to do this work.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelper.java f3197cb 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java a0b98f7 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/OperatingSystemResponse.java 06b4148 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java bb50820 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/internal/OperatingSystemResourceProvider.java fd4a91f 
>   ambari-server/src/main/java/org/apache/ambari/server/orm/entities/OperatingSystemEntity.java 3c881a1 
>   ambari-server/src/main/java/org/apache/ambari/server/state/stack/upgrade/RepositoryVersionHelper.java 6a36522 
>   ambari-server/src/main/resources/custom_actions/scripts/install_packages.py c01dbb3 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/repo_initialization.py 05751fa 
>   ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProviderTest.java 4da8896 
>   ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RepositoryVersionResourceProviderTest.java e031fc8 
>   ambari-server/src/test/python/custom_actions/TestInstallPackages.py ad4206b 
>   ambari-server/src/test/python/stacks/2.0.6/hooks/before-INSTALL/test_before_install.py aacd1f2 
> 
> Diff: https://reviews.apache.org/r/45703/diff/
> 
> 
> Testing
> -------
> 
> Manual.  Automated pending
> 
> 
> Thanks,
> 
> Nate Cole
> 
>