ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitalyi Brodetskyi" <vbrodets...@hortonworks.com>
Subject Re: Review Request 35732: ambari-server upgrade to 2.1 fails when config groups exist
Date Mon, 22 Jun 2015 16:21:42 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35732/#review88797
-----------------------------------------------------------

Ship it!


Ship It!

- Vitalyi Brodetskyi


On Червень 22, 2015, 4:20 після полудня, Dmitro Lisnichenko wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/35732/
> -----------------------------------------------------------
> 
> (Updated Червень 22, 2015, 4:20 після полудня)
> 
> 
> Review request for Ambari and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-12073
>     https://issues.apache.org/jira/browse/AMBARI-12073
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> While executing ambari-server upgrade to Ambari 2.1 when configuration groups exist,
the upgrade fails with the following in the ambari-server log, specifically related to the
serviceconfighosts table:
> 
> 21 Jun 2015 17:55:10,368  INFO [main] DBAccessorImpl:676 - Executing query: ALTER TABLE
serviceconfighosts  ALTER COLUMN host_id SET NOT NULL
> 21 Jun 2015 17:55:10,369 ERROR [main] DBAccessorImpl:682 - Error executing query: ALTER
TABLE serviceconfighosts  ALTER COLUMN host_id SET NOT NULL
> org.postgresql.util.PSQLException: ERROR: column "host_id" contains null values
>         at
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog210.java
ac48d42 
> 
> Diff: https://reviews.apache.org/r/35732/diff/
> 
> 
> Testing
> -------
> 
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Ambari Main ....................................... SUCCESS [4.688s]
> [INFO] Apache Ambari Project POM ......................... SUCCESS [0.083s]
> [INFO] Ambari Web ........................................ SUCCESS [38.670s]
> [INFO] Ambari Views ...................................... SUCCESS [3.388s]
> [INFO] Ambari Admin View ................................. SUCCESS [13.815s]
> [INFO] ambari-metrics .................................... SUCCESS [0.567s]
> [INFO] Ambari Metrics Common ............................. SUCCESS [1.488s]
> [INFO] Ambari Metrics Hadoop Sink ........................ SUCCESS [3.995s]
> [INFO] Ambari Metrics Flume Sink ......................... SUCCESS [2.119s]
> [INFO] Ambari Metrics Kafka Sink ......................... SUCCESS [3.104s]
> [INFO] Ambari Metrics Storm Sink ......................... SUCCESS [2.228s]
> [INFO] Ambari Metrics Collector .......................... SUCCESS [3:38.816s]
> [INFO] Ambari Metrics Monitor ............................ SUCCESS [1.784s]
> [INFO] Ambari Metrics Assembly ........................... SUCCESS [1:52.711s]
> [INFO] Ambari Server ..................................... SUCCESS [48:20.244s]
> [INFO] Ambari Agent ...................................... SUCCESS [18.481s]
> [INFO] Ambari Client ..................................... SUCCESS [0.049s]
> [INFO] Ambari Python Client .............................. SUCCESS [0.567s]
> [INFO] Ambari Groovy Client .............................. SUCCESS [9.609s]
> [INFO] Ambari Shell ...................................... SUCCESS [0.030s]
> [INFO] Ambari Python Shell ............................... SUCCESS [0.045s]
> [INFO] Ambari Groovy Shell ............................... SUCCESS [6.739s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 55:44.236s
> [INFO] Finished at: Mon Jun 22 18:08:44 EEST 2015
> [INFO] Final Memory: 159M/711M
> [INFO] ------------------------------------------------------------------------
> 
> 
> Thanks,
> 
> Dmitro Lisnichenko
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message