Re: Review Request 45110: 'ambari-server check-database' reports error for spark-thrift-fairscheduler config post EU

2016-03-21 Thread Alejandro Fernandez

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


Ship it!




Ship It!

- Alejandro Fernandez


On March 21, 2016, 4:38 p.m., Vitalyi Brodetskyi wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45110/
> ---
> 
> (Updated March 21, 2016, 4:38 p.m.)
> 
> 
> 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
> 
>



Re: Review Request 45110: 'ambari-server check-database' reports error for spark-thrift-fairscheduler config post EU

2016-03-21 Thread Myroslav Papirkovskyy

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


Ship it!




Ship It!

- Myroslav Papirkovskyy


On Березень 21, 2016, 6:38 після полудня, Vitalyi Brodetskyi wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/45110/
> ---
> 
> (Updated Березень 21, 2016, 6:38 після полудня)
> 
> 
> 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
> 
>



Review Request 45110: 'ambari-server check-database' reports error for spark-thrift-fairscheduler config post EU

2016-03-21 Thread Vitalyi Brodetskyi

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