You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2014/09/22 17:04:33 UTC

[jira] [Commented] (AMBARI-7433) Issues on upgrade ambari 1.6.0->1.7.0(ambari+mysql)

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

Hudson commented on AMBARI-7433:
--------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #333 (See [https://builds.apache.org/job/Ambari-trunk-Commit/333/])
AMBARI-7433. Issues on upgrade ambari 1.6.0->1.7.0(ambari+mysql)(vbrodetskyi) (vbrodetskyi: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=6eecc2c156cdb9058f3c098770590a00b6ab32ff)
* ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog170.java


> Issues on upgrade ambari 1.6.0->1.7.0(ambari+mysql)
> ---------------------------------------------------
>
>                 Key: AMBARI-7433
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7433
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 1.7.0
>            Reporter: Vitaly Brodetskyi
>            Assignee: Vitaly Brodetskyi
>            Priority: Critical
>             Fix For: 1.7.0
>
>         Attachments: AMBARI-7433.patch
>
>
> {code}
> 1) "UPDATE viewinstance SET config_id = (SELECT @a := @a + 1 FROM (SELECT @a := 1) s)" is not correct. We should update clusterconfig, not viewinstance.
> 2) "dbAccessor.setNullable("clusterconfig", "version", false); " doesn't work for mysql(syntax error). Change it to execute quesrry: dbAccessor.executeQuery("ALTER TABLE clusterconfig MODIFY version BIGINT NOT NULL");
> 3) dbAccessor.executeQuery("ALTER TABLE ambari_sequences RENAME COLUMN value to sequence_value DECIMAL(38) NOT NULL"); is not correct for mysql. Should be changed to dbAccessor.executeQuery("ALTER TABLE ambari_sequences CHANGE value sequence_value DECIMAL(38) NOT NULL")
> {code}



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