ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-10151) Deregister Stack Version error if it has been already INSTALLED or INSTALL_FAILED on some cluster
Date Tue, 24 Mar 2015 17:19:53 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-10151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14378183#comment-14378183
] 

Hudson commented on AMBARI-10151:
---------------------------------

ABORTED: Integrated in Ambari-trunk-Commit #2100 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2100/])
AMBARI-10151. Deregister Stack Version error if it has been already INSTALLED or INSTALL_FAILED
on some cluster.(vbrodetskyi) (vbrodetskyi: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=2cb80ce3f5b80fb0d0c90b2159a631a75ef3a266)
* ambari-server/src/main/java/org/apache/ambari/server/orm/entities/RepositoryVersionEntity.java
* ambari-server/src/test/java/org/apache/ambari/server/orm/dao/RepositoryVersionDAOTest.java


> Deregister Stack Version error if it has been already INSTALLED or INSTALL_FAILED on
some cluster
> -------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-10151
>                 URL: https://issues.apache.org/jira/browse/AMBARI-10151
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-10151.patch
>
>
> Install HDP-2.2.1-2214 and register HDP-2.2.1-2275.
> Try installing bits (it failed)
> Try to deregister HDP-2.2.1-2275
> Error appears:
> {code}
> Version delete error
> Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.4.2.v20130514-5956486):
org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.BatchUpdateException:
Batch entry 0 DELETE FROM repo_version WHERE (repo_version_id = 3) was aborted. Call getNextException
to see the cause. Error Code: 0 Call: DELETE FROM repo_version WHERE (repo_version_id = ?)
bind => [1 parameter bound]
> {code}



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

Mime
View raw message