You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ambari.apache.org by Shaik M <mu...@gmail.com> on 2016/11/09 07:36:58 UTC

Unable to save Configurations in Ambari

Hi,

I have recently started upgrade hdp 2.3 to 2.5.

As part of upgrade procedure I have upgraded Amabri  2.1.2 to 2.4.1.0
without any issues.

I have started HDP upgrade, due to some internal issues I have rollback hdp
upgrade. after rollback i am unable to changes any configuration in Ambari.
I am getting "Failure in saving service configuration" message.

Error Log "ambari-server.log"
========-================
09 Nov 2016 07:32:54,351  WARN [ambari-client-thread-27] ServletHandler:561
- Error Processing URI: /api/v1/clusters/bdp_hdp_lab_cluster -
(javax.persistence.RollbackException) Exception [EclipseLink-4002] (Eclipse
Persistence Services - 2.6.2.v20151217-774c696):
org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.BatchUpdateException: Batch entry 1 INSERT
INTO serviceconfigmapping (config_id, service_config_id) VALUES (364, 765)
was aborted.  Call getNextException to see the cause.
Error Code: 0
Call: INSERT INTO serviceconfigmapping (config_id, service_config_id)
VALUES (?, ?)
        bind => [2 parameters bound]
09 Nov 2016 07:32:54,351  WARN [ambari-client-thread-27] ServletHandler:561
- Error Processing URI: /api/v1/clusters/bdp_hdp_lab_cluster -
(javax.persistence.RollbackException) Exception [EclipseLink-4002] (Eclipse
Persistence Services - 2.6.2.v20151217-774c696):
org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.BatchUpdateException: Batch entry 1 INSERT
INTO serviceconfigmapping (config_id, service_config_id) VALUES (364, 765)
was aborted.  Call getNextException to see the cause.
Error Code: 0
Call: INSERT INTO serviceconfigmapping (config_id, service_config_id)
VALUES (?, ?)
        bind => [2 parameters bound]

Please help me to fix this issue.

Thanks,
Shaik