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

(Updated Feb. 24, 2015, 9:46 p.m.)


Review request for Ambari, Dmitro Lisnichenko, Jonathan Hurley, and Nate Cole.


Summary (updated)
-----------------

RU - Unnecessary "Upgrade Requirements Not Met" alert appears before rolling 
upgrade


Bugs: AMBARI-9773
    https://issues.apache.org/jira/browse/AMBARI-9773


Repository: ambari


Description
-------

Steps to reproduce:

Install all services 2.2.2.0-2451
Enable HA.
Create repo 2.2.2.0-2454
Perform Upgrade.

Note a dialog show and say "You must meet the following requirements before you 
can proceed with rolling upgrade."
Reason: MapReduce should reference hadoop libraries from the distributed cache. 
Make sure that mapreduce.application.framework.path and 
mapreduce.application.classpath properties are present in mapred.site.xml and 
point to hdfs:/... urls
Failed on: MAP_REDUCE
 Oozie should reference hadoop libraries from the distributed cache
Reason: MapReduce on cluster c1_ubuntu_434 should reference hadoop libraries 
from the distributed cache. Make sure that mapreduce.application.framework.path 
and mapreduce.application.classpath properties are present in 
mapred.site.xmland point to hdfs:/... urls
Failed on: OOZIE
 TEZ should reference hadoop libraries from the distributed cache
Reason: tez-site property tez.lib.uris should point to hdfs:/... url with 
.tar.gz archive of TEZ binaries
Failed on: TEZ


Diffs
-----

  
ambari-server/src/main/java/org/apache/ambari/server/checks/ServicesMapReduceDistributedCacheCheck.java
 1309406 
  
ambari-server/src/main/java/org/apache/ambari/server/checks/ServicesOozieDistributedCacheCheck.java
 e87767b 
  
ambari-server/src/main/java/org/apache/ambari/server/checks/ServicesTezDistributedCacheCheck.java
 5f50761 
  
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/PreUpgradeCheckResourceProvider.java
 46c2238 
  
ambari-server/src/test/java/org/apache/ambari/server/checks/ServicesMapReduceDistributedCacheCheckTest.java
 ef8740b 
  
ambari-server/src/test/java/org/apache/ambari/server/checks/ServicesOozieDistributedCacheCheckTest.java
 5b0687a 
  
ambari-server/src/test/java/org/apache/ambari/server/checks/ServicesTezDistributedCacheCheckTest.java
 222ad00 

Diff: https://reviews.apache.org/r/31374/diff/


Testing
-------

Ran affected unit tests locally. Deployed a 3-node cluster with Namenode HA and 
was able to start a Rolling Upgrade.

ABO unit tests in progress.


Thanks,

Alejandro Fernandez

Reply via email to