You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Dmitro Lisnichenko <dl...@hortonworks.com> on 2015/03/20 12:17:22 UTC

Review Request 32298: Deregister Stack Version error if it has been already INSTALLED or INSTALL_FAILED on some cluster

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


Re: Review Request 32298: Deregister Stack Version error if it has been already INSTALLED or INSTALL_FAILED on some cluster

Posted by Myroslav Papirkovskyy <mp...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/32298/#review77394
-----------------------------------------------------------

Ship it!


Ship It!

- Myroslav Papirkovskyy


On Березень 20, 2015, 1:52 після полудня, Dmitro Lisnichenko wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/32298/
> -----------------------------------------------------------
> 
> (Updated Березень 20, 2015, 1:52 після полудня)
> 
> 
> 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
> -------
> 
> Tests in error: 
>   org.apache.ambari.server.security.authorization.AmbariLdapAuthenticationProviderForDNWithSpaceTest: /tmp/server-work-Test/log/revision (No such file or directory)
> 
> Tests run: 2784, Failures: 0, Errors: 1, Skipped: 15
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Ambari Views ...................................... SUCCESS [4.178s]
> [INFO] Ambari Metrics Common ............................. SUCCESS [3.865s]
> [INFO] Ambari Server ..................................... FAILURE [34:09.312s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> 
> AmbariLdapAuthenticationProviderForDNWithSpaceTest failure is known and intermittent
> 
> 
> Thanks,
> 
> Dmitro Lisnichenko
> 
>


Re: Review Request 32298: Deregister Stack Version error if it has been already INSTALLED or INSTALL_FAILED on some cluster

Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/32298/
-----------------------------------------------------------

(Updated March 20, 2015, 11:52 a.m.)


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 (updated)
-------

Tests in error: 
  org.apache.ambari.server.security.authorization.AmbariLdapAuthenticationProviderForDNWithSpaceTest: /tmp/server-work-Test/log/revision (No such file or directory)

Tests run: 2784, Failures: 0, Errors: 1, Skipped: 15

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Ambari Views ...................................... SUCCESS [4.178s]
[INFO] Ambari Metrics Common ............................. SUCCESS [3.865s]
[INFO] Ambari Server ..................................... FAILURE [34:09.312s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------

AmbariLdapAuthenticationProviderForDNWithSpaceTest failure is known and intermittent


Thanks,

Dmitro Lisnichenko