[
https://issues.apache.org/jira/browse/AMBARI-12145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dmytro Sen resolved AMBARI-12145.
---------------------------------
Resolution: Fixed
Committed to trunk and branch-2.1
> ambari-server upgrade from Ambari 2.0.1 failed
> ----------------------------------------------
>
> Key: AMBARI-12145
> URL: https://issues.apache.org/jira/browse/AMBARI-12145
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Reporter: Dmytro Sen
> Assignee: Dmytro Sen
> Priority: Blocker
> Attachments: AMBARI-12145.patch
>
>
> Ambari 2.0.1 to Ambari 2.1.0 (branch-2.1:
> fd4199408fe25a652caa27a5763630bf09d59e4e)
> {code}
> 24 Jun 2015 19:31:37,396 INFO [main] DBAccessorImpl:676 - Executing query:
> ALTER TABLE hostcomponentstate MODIFY current_stack_id BIGINT NOT NULL
> 24 Jun 2015 19:31:37,408 ERROR [main] DBAccessorImpl:682 - Error executing
> query: ALTER TABLE hostcomponentstate MODIFY current_stack_id BIGINT NOT NULL
> com.mysql.jdbc.MysqlDataTruncation: Data truncation: Invalid use of NULL value
> at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4235)
> at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)