ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oleew...@apache.org
Subject ambari git commit: AMBARI-19384. Wrong placeholder in REST metrics error message (Attila Doroszlai via oleewere)
Date Wed, 11 Jan 2017 15:41:59 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 1ca7a1156 -> 564865e84


AMBARI-19384. Wrong placeholder in REST metrics error message (Attila Doroszlai via oleewere)

Change-Id: I9ad4b72626b98e632b5b452c245117b61e01823a


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/564865e8
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/564865e8
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/564865e8

Branch: refs/heads/branch-2.5
Commit: 564865e846b1651e86da4ae5ab93bff006232e5c
Parents: 1ca7a11
Author: Attila Doroszlai <adoroszlai@hortonworks.com>
Authored: Wed Jan 11 16:37:54 2017 +0100
Committer: oleewere <oleewere@gmail.com>
Committed: Wed Jan 11 16:41:04 2017 +0100

----------------------------------------------------------------------
 .../server/controller/metrics/RestMetricsPropertyProvider.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/564865e8/ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/RestMetricsPropertyProvider.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/RestMetricsPropertyProvider.java
b/ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/RestMetricsPropertyProvider.java
index 0b8dd62..8c23fe0 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/RestMetricsPropertyProvider.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/RestMetricsPropertyProvider.java
@@ -258,7 +258,7 @@ public class RestMetricsPropertyProvider extends ThreadPoolEnabledPropertyProvid
         extractValuesFromJSON(jsonMap, urls.get(url), resource, propertyInfos);
       } catch (AmbariException ambariException) {
         AmbariException detailedException = new AmbariException(String.format(
-            "Unable to get REST metrics from the for %s at $s", resourceComponentName, spec),
+            "Unable to get REST metrics from the for %s at %s", resourceComponentName, spec),
             ambariException);
 
         logException(detailedException);


Mime
View raw message