ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Fernandez" <afernan...@hortonworks.com>
Subject Re: Review Request 31364: RU - Unnecessary "Upgrade Requirements Not Met" alert appears before rolling upgrade
Date Tue, 24 Feb 2015 18:33:36 GMT

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



ambari-server/src/main/java/org/apache/ambari/server/checks/ServicesMapReduceDistributedCacheCheck.java
<https://reviews.apache.org/r/31364/#comment120261>

    We also need to check defaultFS.
    If defaultFS is "hdfs://ha" and tez.lib.uris is "/foo/bar/", then it is implied that tez.lib.uris
is on hdfs already


- Alejandro Fernandez


On Feb. 24, 2015, 5:45 p.m., Dmitro Lisnichenko wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/31364/
> -----------------------------------------------------------
> 
> (Updated Feb. 24, 2015, 5:45 p.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Nate Cole, Jeff Sposetti, and Tom Beerbower.
> 
> 
> 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/31364/diff/
> 
> 
> Testing
> -------
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Ambari Views ...................................... SUCCESS [3.880s]
> [INFO] Ambari Server ..................................... SUCCESS [44:33.998s]
> [INFO] Ambari Agent ...................................... SUCCESS [7.948s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 44:46.654s
> [INFO] Finished at: Tue Feb 24 16:42:51 FET 2015
> [INFO] Final Memory: 35M/274M
> [INFO] ------------------------------------------------------------------------
> 
> 
> Thanks,
> 
> Dmitro Lisnichenko
> 
>


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