AMBARI-19114 Update hardcoded stack version warning to be more general than saying hdp (dili)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/cebdb67c Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/cebdb67c Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/cebdb67c Branch: refs/heads/branch-feature-AMBARI-18456 Commit: cebdb67c5eabc25a619e15288792bd7534ca330d Parents: 38827c0 Author: Di Li <[email protected]> Authored: Wed Dec 7 11:32:25 2016 -0500 Committer: Di Li <[email protected]> Committed: Wed Dec 7 11:32:25 2016 -0500 ---------------------------------------------------------------------- .../java/org/apache/ambari/server/checks/CheckDescription.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/cebdb67c/ambari-server/src/main/java/org/apache/ambari/server/checks/CheckDescription.java ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/java/org/apache/ambari/server/checks/CheckDescription.java b/ambari-server/src/main/java/org/apache/ambari/server/checks/CheckDescription.java index 7f24bf4..45497b5 100644 --- a/ambari-server/src/main/java/org/apache/ambari/server/checks/CheckDescription.java +++ b/ambari-server/src/main/java/org/apache/ambari/server/checks/CheckDescription.java @@ -236,10 +236,10 @@ public class CheckDescription { public static CheckDescription HARDCODED_STACK_VERSION_PROPERTIES_CHECK = new CheckDescription("HARDCODED_STACK_VERSION_PROPERTIES_CHECK", PrereqCheckType.CLUSTER, - "Found hardcoded hdp stack version in property value.", + "Found hardcoded stack version in property value.", new ImmutableMap.Builder<String, String>() .put(AbstractCheckDescriptor.DEFAULT, - "Some properties seem to contain hardcoded hdp version string \"%s\"." + + "Some properties seem to contain hardcoded stack version string \"%s\"." + " That is a potential problem when doing stack update.").build()); public static CheckDescription VERSION_MISMATCH = new CheckDescription("VERSION_MISMATCH",
