Repository: ambari Updated Branches: refs/heads/branch-feature-AMBARI-22457 9d55c0f50 -> 519f52706
AMBARI-22480. Validate blueprint does not allow lzo enable without setup with license agreement. JavaDocs update. (mpapirkovskyy) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/519f5270 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/519f5270 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/519f5270 Branch: refs/heads/branch-feature-AMBARI-22457 Commit: 519f52706020bfa276d44f21f2120fb1154c4985 Parents: 9d55c0f Author: Myroslav Papirkovskyi <mpapyrkovs...@hortonworks.com> Authored: Tue Nov 21 17:16:51 2017 +0200 Committer: Myroslav Papirkovskyi <mpapyrkovs...@hortonworks.com> Committed: Tue Nov 21 19:24:46 2017 +0200 ---------------------------------------------------------------------- .../main/java/org/apache/ambari/server/topology/BlueprintImpl.java | 1 + .../java/org/apache/ambari/server/topology/BlueprintValidator.java | 1 + 2 files changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/519f5270/ambari-server/src/main/java/org/apache/ambari/server/topology/BlueprintImpl.java ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/java/org/apache/ambari/server/topology/BlueprintImpl.java b/ambari-server/src/main/java/org/apache/ambari/server/topology/BlueprintImpl.java index 06fd9f2..9b67c32 100644 --- a/ambari-server/src/main/java/org/apache/ambari/server/topology/BlueprintImpl.java +++ b/ambari-server/src/main/java/org/apache/ambari/server/topology/BlueprintImpl.java @@ -350,6 +350,7 @@ public class BlueprintImpl implements Blueprint { * Validate blueprint configuration. * * @throws InvalidTopologyException if the blueprint configuration is invalid + * @throws GPLLicenseNotAcceptedException ambari was configured to use gpl software, but gpl license is not accepted */ @Override public void validateRequiredProperties() throws InvalidTopologyException, GPLLicenseNotAcceptedException { http://git-wip-us.apache.org/repos/asf/ambari/blob/519f5270/ambari-server/src/main/java/org/apache/ambari/server/topology/BlueprintValidator.java ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/java/org/apache/ambari/server/topology/BlueprintValidator.java b/ambari-server/src/main/java/org/apache/ambari/server/topology/BlueprintValidator.java index c201a7f..38ef01f 100644 --- a/ambari-server/src/main/java/org/apache/ambari/server/topology/BlueprintValidator.java +++ b/ambari-server/src/main/java/org/apache/ambari/server/topology/BlueprintValidator.java @@ -36,6 +36,7 @@ public interface BlueprintValidator { * This doesn't include password properties. * * @throws InvalidTopologyException if required properties are not set in blueprint + * @throws GPLLicenseNotAcceptedException ambari was configured to use gpl software, but gpl license is not accepted */ void validateRequiredProperties() throws InvalidTopologyException, GPLLicenseNotAcceptedException; }