ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitro Lisnichenko" <dlysniche...@hortonworks.com>
Subject Review Request 32298: Deregister Stack Version error if it has been already INSTALLED or INSTALL_FAILED on some cluster
Date Fri, 20 Mar 2015 11:17:22 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/32298/
-----------------------------------------------------------

Review request for Ambari and Myroslav Papirkovskyy.


Bugs: AMBARI-10151
    https://issues.apache.org/jira/browse/AMBARI-10151


Repository: ambari


Description
-------

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:
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]


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/orm/entities/RepositoryVersionEntity.java
78cc277 
  ambari-server/src/test/java/org/apache/ambari/server/orm/dao/RepositoryVersionDAOTest.java
6cdadea 

Diff: https://reviews.apache.org/r/32298/diff/


Testing
-------

in progress


Thanks,

Dmitro Lisnichenko


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message