Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-9934

Deregister Stack Version error if it has been already INSTALLED or INSTALL_FAILED on some cluster

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.0.0
    • 2.1.0
    • ambari-server
    • None

    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]
      

      Attachments

        Issue Links

          Activity

            People

              dmitriusan Dmitry Lysnichenko
              dmitriusan Dmitry Lysnichenko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: