-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/61969/
-----------------------------------------------------------
Review request for Ambari, Jonathan Hurley and Sid Wagle.
Bugs: AMBARI-21843
https://issues.apache.org/jira/browse/AMBARI-21843
Repository: ambari
Description
-------
Here we need to fix two issues:
1) Table "clusterconfigmapping" was removed in ambari-2.6.0 (dropping it during
upgrade). But db consistency check still using this table to get some data.
After upgrade it fails because "clusterconfigmapping" doesn't exist. Need to
reimplement checks which are using this table.
2) Db consistency check doesn't show any information for user about errors, in
casse when table doesn't exist. You can check that with "clusterconfigmapping"
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/checks/DatabaseConsistencyCheckHelper.java
aa96875
ambari-server/src/test/java/org/apache/ambari/server/checks/DatabaseConsistencyCheckHelperTest.java
5ce03a3
Diff: https://reviews.apache.org/r/61969/diff/1/
Testing
-------
mvn clean test
Thanks,
Vitalyi Brodetskyi