ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tbeerbo...@apache.org
Subject git commit: AMBARI-7496 - Views: when we have an error deploying a view, the log should also indicate the version
Date Wed, 01 Oct 2014 18:08:51 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk a0a990b57 -> b68368a76


AMBARI-7496 - Views: when we have an error deploying a view, the log should also indicate
the version


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

Branch: refs/heads/trunk
Commit: b68368a7686b95aaafae268143274ca2483259d6
Parents: a0a990b
Author: tbeerbower <tbeerbower@hortonworks.com>
Authored: Wed Oct 1 10:24:12 2014 -0400
Committer: tbeerbower <tbeerbower@hortonworks.com>
Committed: Wed Oct 1 14:06:15 2014 -0400

----------------------------------------------------------------------
 .../src/main/java/org/apache/ambari/server/view/ViewRegistry.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/b68368a7/ambari-server/src/main/java/org/apache/ambari/server/view/ViewRegistry.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/view/ViewRegistry.java b/ambari-server/src/main/java/org/apache/ambari/server/view/ViewRegistry.java
index 5f775a6..e48c88e 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/view/ViewRegistry.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/view/ViewRegistry.java
@@ -1274,7 +1274,7 @@ public class ViewRegistry {
       setViewStatus(viewDefinition, ViewEntity.ViewStatus.DEPLOYED, "Deployed " + extractedArchiveDirPath
+ ".");
 
     } catch (Exception e) {
-      String msg = "Caught exception loading view " + viewDefinition.getViewName();
+      String msg = "Caught exception loading view " + viewDefinition.getName();
 
       setViewStatus(viewDefinition, ViewEntity.ViewStatus.ERROR, msg + " : " + e.getMessage());
       LOG.error(msg, e);


Mime
View raw message