Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.5.0
-
None
Description
At times when Ambari Server hits a db error we see the log as follows:
aused by: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.4.0.v20120608-r11652): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.BatchUpdateException: Batch entry 0 DELETE FROM hostcomponentstate WHERE ((((component_name = 'JOBTRACKER') AND (host_name = 'hadoop2.tsh.thomson.com')) AND (cluster_id = '1')) AND (service_name = 'MAPREDUCE')) was aborted. Call getNextException to see the cause. Error Code: 0 Call: DELETE FROM hostcomponentstate WHERE ((((component_name = ?) AND (host_name = ?)) AND (cluster_id = ?)) AND (service_name = ?)) bind => [4 parameters bound] Query: DeleteObjectQuery(org.apache.ambari.server.orm.entities.HostComponentDesiredStateEntity@8963a385) at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:333) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.processExceptionForCommError(DatabaseAccessor.java:1501)
The log states Call getNextException to see the cause.
Attachments
Attachments
Issue Links
- links to