-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/45110/
-----------------------------------------------------------
Review request for Ambari, Alejandro Fernandez and Myroslav Papirkovskyy.
Bugs: AMBARI-15493
https://issues.apache.org/jira/browse/AMBARI-15493
Repository: ambari
Description
-------
*Steps*
1. Run an EU from 2.3.4.0 to 2.4.2.0 (with Ambari 2.2.2.0)
2. Run ambari-server check-database
*Result:*
{code}
Using python /usr/bin/python
Checking database
Some error(s) or/and warning(s) was(were) found. Please check
ambari-server-check-database.log for problem(s).
Ambari Server 'check-database' completed successfully.
{code}
Log file shows below:
{code}
cat ambari-server-check-database.log
2016-03-21 09:58:06,995 INFO - ******************************* Check database
started *******************************
2016-03-21 09:58:21,551 ERROR - Required config(s): spark-thrift-fairscheduler
is(are) not available for service SPARK with service config version 1 in
cluster cl1
2016-03-21 09:58:21,554 ERROR - Required config(s): spark-thrift-fairscheduler
is(are) not available for service SPARK with service config version 2 in
cluster cl1
2016-03-21 09:58:21,647 INFO - ******************************* Check database
completed *******************************
{code}
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/checks/CheckDatabaseHelper.java
766e2c0
ambari-server/src/test/java/org/apache/ambari/server/checks/CheckDatabaseHelperTest.java
51ed42b
Diff: https://reviews.apache.org/r/45110/diff/
Testing
-------
mvn clean test
Thanks,
Vitalyi Brodetskyi