ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adorosz...@apache.org
Subject [11/39] ambari git commit: AMBARI-22325. Log blueprint JSON parse error when loading from DB (adoroszlai)
Date Fri, 24 Nov 2017 12:39:53 GMT
AMBARI-22325. Log blueprint JSON parse error when loading from DB (adoroszlai)


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

Branch: refs/heads/branch-feature-AMBARI-14714-blueprintv2
Commit: 7767f611a477bc778fb7ea63f0bed3bce73c6840
Parents: 7829023
Author: Attila Doroszlai <adoroszlai@hortonworks.com>
Authored: Mon Nov 13 09:16:44 2017 +0100
Committer: Doroszlai, Attila <adoroszlai@hortonworks.com>
Committed: Fri Nov 24 13:30:45 2017 +0100

----------------------------------------------------------------------
 .../ambari/server/controller/internal/ProvisionClusterRequest.java  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/7767f611/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ProvisionClusterRequest.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ProvisionClusterRequest.java
b/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ProvisionClusterRequest.java
index f773fc8..48d5016 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ProvisionClusterRequest.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ProvisionClusterRequest.java
@@ -325,6 +325,7 @@ public class ProvisionClusterRequest extends BaseClusterRequest {
     try {
       setBlueprint(getBlueprintFactory().getBlueprint(blueprintName));
     } catch (IOException e) {
+      LOG.error("Could not parse JSON stored in DB for blueprint {}", blueprintName, e);
       throw new NoSuchBlueprintException(blueprintName);
     }
 


Mime
View raw message