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 8647F1073B for ; Wed, 16 Jul 2014 18:46:09 +0000 (UTC) Received: (qmail 1449 invoked by uid 500); 16 Jul 2014 18:46:09 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 1381 invoked by uid 500); 16 Jul 2014 18:46:09 -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 1186 invoked by uid 99); 16 Jul 2014 18:46:09 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jul 2014 18:46:09 +0000 Date: Wed, 16 Jul 2014 18:46:09 +0000 (UTC) From: "Srimanth Gunturi (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (AMBARI-6514) Unable to save config overrides 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-6514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Srimanth Gunturi resolved AMBARI-6514. -------------------------------------- Resolution: Fixed Committed to trunk. > Unable to save config overrides > ------------------------------- > > Key: AMBARI-6514 > URL: https://issues.apache.org/jira/browse/AMBARI-6514 > Project: Ambari > Issue Type: Bug > Components: controller > Affects Versions: 1.7.0 > Reporter: Srimanth Gunturi > Assignee: Srimanth Gunturi > Priority: Blocker > Fix For: 1.7.0 > > > Saving overridden configs results in error 500. > PUT request: > {code}/api/v1/clusters/{clusterName}/config_groups/{configGroupId}{code} > Error message: > {code}Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.4.0.v20120608-r11652): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.BatchUpdateException: Batch entry 0 INSERT INTO clusterconfig (version_tag, type_name, config_attributes, config_data, create_timestamp, cluster_id) VALUES ('version1405434579534', 'hdfs-site', NULL, '{"dfs.datanode.failed.volumes.tolerated":"1"}', 1405434580259, 2) was aborted. Call getNextException to see the cause. Error Code: 0 Call: INSERT INTO clusterconfig (version_tag, type_name, config_attributes, config_data, create_timestamp, cluster_id) VALUES (?, ?, ?, ?, ?, ?) bind => [6 parameters bound]{code} -- This message was sent by Atlassian JIRA (v6.2#6252)