Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6BBC0CA58 for ; Fri, 19 Dec 2014 05:46:13 +0000 (UTC) Received: (qmail 61786 invoked by uid 500); 19 Dec 2014 05:46:13 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 61752 invoked by uid 500); 19 Dec 2014 05:46:13 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 61733 invoked by uid 99); 19 Dec 2014 05:46:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Dec 2014 05:46:13 +0000 Date: Fri, 19 Dec 2014 05:46:13 +0000 (UTC) From: "Hudson (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-8806) Blueprints: Blueprints deployments failing due to missing Cluster ID in ClusterRequest MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-8806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14252996#comment-14252996 ] Hudson commented on AMBARI-8806: -------------------------------- FAILURE: Integrated in Ambari-trunk-Commit-docker #541 (See [https://builds.apache.org/job/Ambari-trunk-Commit-docker/541/]) AMBARI-8806. Blueprints deployments failing due to missing Cluster ID in ClusterRequest. (rnettleton) (rnettleton: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=9e22e173102f15c2cfb181262fbfa8d8711423d2) * ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java > Blueprints: Blueprints deployments failing due to missing Cluster ID in ClusterRequest > -------------------------------------------------------------------------------------- > > Key: AMBARI-8806 > URL: https://issues.apache.org/jira/browse/AMBARI-8806 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.0.0 > Reporter: Robert Nettleton > Assignee: Robert Nettleton > Fix For: 2.0.0 > > Attachments: AMBARI-8806.patch > > Original Estimate: 24h > Remaining Estimate: 24h > > A recent patch checkin is causing Ambari Blueprints deployments to fail with a 500 HTTP error, with an error message complaining about the failure to update the configuration for the cluster. > The underlying problem is that the AmbariManagementControllerImpl has been modified to check for the ClusterRequest.getClusterID() field, and now throws an exception when this field is null. > The Blueprints processor uses the ClusterRequest to update the configurations on a Blueprints-deployed cluster, and has historically never set the Cluster ID. > The Blueprints processor or the management controller should be updated to handle this error differently, such that the Blueprints processor does not have to set the cluster ID, since the controller can still obtain the cluster information via the cluster name. > I'm working on a patch to address this issue. -- This message was sent by Atlassian JIRA (v6.3.4#6332)