ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitaly Brodetskyi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-7433) Issues on upgrade ambari 1.6.0->1.7.0(ambari+mysql)
Date Mon, 22 Sep 2014 14:26:34 GMT
Vitaly Brodetskyi created AMBARI-7433:
-----------------------------------------

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


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

Mime
View raw message