You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2016/05/31 13:04:12 UTC

[jira] [Commented] (AMBARI-16964) Upgrade Catalog 2.4 is not idempotent

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

Hadoop QA commented on AMBARI-16964:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12807118/AMBARI-16964.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 1 new or modified test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:red}-1 core tests{color}.  The patch failed these unit tests in ambari-server:

                  org.apache.ambari.server.state.stack.ConfigUpgradeValidityTest
                  org.apache.ambari.server.controller.internal.HostResourceProviderTest

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/7067//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/7067//console

This message is automatically generated.

> Upgrade Catalog 2.4 is not idempotent
> -------------------------------------
>
>                 Key: AMBARI-16964
>                 URL: https://issues.apache.org/jira/browse/AMBARI-16964
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-16964.patch
>
>
> **STR:**  
> Run ambrai-server upgrade twice (a with metainfo change).  
> **Result:**
>     
>     
>     30 May 2016 14:21:20,392 ERROR [main] DBAccessorImpl:803 - Error executing query: UPDATE viewinstance SET cluster_handle_dummy = 2 WHERE cluster_handle = 'cl1'
>     org.postgresql.util.PSQLException: ERROR: invalid input syntax for integer: "cl1"
>       Position: 73
>             at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2161)
>             at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1890)
>             at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
>             at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:559)
>             at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:403)
>             at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:395)
>             at org.apache.ambari.server.orm.DBAccessorImpl.executeQuery(DBAccessorImpl.java:800)
>             at org.apache.ambari.server.orm.DBAccessorImpl.executeQuery(DBAccessorImpl.java:792)
>             at org.apache.ambari.server.upgrade.UpgradeCatalog240.updateViewInstanceTable(UpgradeCatalog240.java:2352)
>             at org.apache.ambari.server.upgrade.UpgradeCatalog240.executeDDLUpdates(UpgradeCatalog240.java:277)
>             at org.apache.ambari.server.upgrade.AbstractUpgradeCatalog.upgradeSchema(AbstractUpgradeCatalog.java:699)
>             at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.executeUpgrade(SchemaUpgradeHelper.java:201)
>             at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:302)
>     30 May 2016 14:21:20,424 ERROR [main] SchemaUpgradeHelper:203 - Upgrade failed.
>     



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