----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/46389/ -----------------------------------------------------------
Review request for Ambari, Alejandro Fernandez, Dmitro Lisnichenko, and Jonathan Hurley. Repository: ambari Description ------- When using a public VDF, the version is not precisely known like a local VDF is. The version comes in as, say, 2.5.0.0 (instead of 2.5.0.0-1111 eg). Installation commands will take the repository_version_id as a pass-through in the structured out of the command. When it returns in the response, the StackVersionListener can then update the correct record in the case of a mismatch. Also corrected a version display issue for dry_run and XML validation when invalid by-hand repos are uploaded that don't specify XSD. Diffs ----- ambari-common/src/main/python/resource_management/libraries/script/script.py 31d7b2a ambari-server/src/main/java/org/apache/ambari/server/agent/ExecutionCommand.java 31635ed ambari-server/src/main/java/org/apache/ambari/server/agent/HeartbeatProcessor.java 8e50da6 ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java 58bab59 ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java a85f939 ambari-server/src/main/java/org/apache/ambari/server/controller/internal/VersionDefinitionResourceProvider.java b5b12d8 ambari-server/src/main/java/org/apache/ambari/server/events/HostComponentVersionAdvertisedEvent.java 11ca72b ambari-server/src/main/java/org/apache/ambari/server/events/listeners/upgrade/StackVersionListener.java 2a627dd ambari-server/src/main/java/org/apache/ambari/server/state/repository/VersionDefinitionXml.java 685a07c ambari-server/src/main/resources/custom_actions/scripts/install_packages.py 709781e ambari-server/src/test/java/org/apache/ambari/server/controller/internal/VersionDefinitionResourceProviderTest.java 3637cab ambari-server/src/test/java/org/apache/ambari/server/events/listeners/upgrade/StackVersionListenerTest.java 784830d ambari-server/src/test/java/org/apache/ambari/server/view/ViewDirectoryWatcherTest.java d9f8919 ambari-server/src/test/python/custom_actions/TestInstallPackages.py e62978a Diff: https://reviews.apache.org/r/46389/diff/ Testing ------- Manual. Automated pending. Thanks, Nate Cole