Repository: ambari Updated Branches: refs/heads/trunk b5aa1d34a -> 36edfee56
AMBARI-15711. Exception thrown when host with unsupported OS is to be mapped to cluster is silently swallowed (aonishuk) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/36edfee5 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/36edfee5 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/36edfee5 Branch: refs/heads/trunk Commit: 36edfee565e17bbd5a32fe8ec7a691b7a06965fe Parents: b5aa1d3 Author: Andrew Onishuk <[email protected]> Authored: Tue Apr 5 18:24:08 2016 +0300 Committer: Andrew Onishuk <[email protected]> Committed: Tue Apr 5 18:24:08 2016 +0300 ---------------------------------------------------------------------- .../java/org/apache/ambari/server/state/cluster/ClustersImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/36edfee5/ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClustersImpl.java ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClustersImpl.java b/ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClustersImpl.java index 0442e4e..bed5153 100644 --- a/ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClustersImpl.java +++ b/ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClustersImpl.java @@ -578,7 +578,7 @@ public class ClustersImpl implements Clusters { + " support host's os type" + ", clusterName=" + clusterName + ", clusterStackId=" + cluster.getDesiredStackVersion().getStackId() + ", hostname=" + hostname + ", hostOsFamily=" + host.getOsFamily(); - LOG.warn(message); + LOG.error(message); throw new AmbariException(message); }
