You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by tb...@apache.org on 2014/10/01 20:08:51 UTC
git commit: AMBARI-7496 - Views: when we have an error deploying a
view, the log should also indicate the version
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 <tb...@hortonworks.com>
Authored: Wed Oct 1 10:24:12 2014 -0400
Committer: tbeerbower <tb...@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);