ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitaly Brodetskyi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-12287) Schema version of Ambari updated before actual end of DML queries (if a problem is encountered during upgrade, fixing issues and running it again did not drop obsolete columns)
Date Mon, 06 Jul 2015 10:51:04 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-12287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vitaly Brodetskyi updated AMBARI-12287:
---------------------------------------
    Attachment: AMBARI-12287.patch

> Schema version of Ambari updated before actual end of DML queries (if a problem is encountered
during upgrade, fixing issues and running it again did not drop obsolete columns)
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-12287
>                 URL: https://issues.apache.org/jira/browse/AMBARI-12287
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.1.0
>            Reporter: Vitaly Brodetskyi
>            Assignee: Vitaly Brodetskyi
>            Priority: Critical
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-12287.patch
>
>
> The following was encountered while adding a host:
> Caused by: Exception EclipseLink-4002 (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd):
org.eclipse.persistence.exceptions.DatabaseException
> Internal Exception: java.sql.SQLException: Field 'desired_stack_version' doesn't have
a default value
> Error Code: 1364
> Call: INSERT INTO hostcomponentdesiredstate (admin_state, desired_state, maintenance_state,
restart_required, security_
> state, host_id, cluster_id, service_name, component_name, desired_stack_id) VALUES (?,
?, ?, ?, ?, ?, ?, ?, ?, ?)
> bind => 10 parameters bound
> Query: InsertObjectQuery(org.apache.ambari.server.orm.entities.HostComponentStateEntity@c448c71c)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message