Srimanth Gunturi created AMBARI-6514:
----------------------------------------

             Summary: 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
             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)

Reply via email to