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

Review request for oozie.


Summary
-------

in MR2 (Hadoop 0.23) the configuration used by a client to submit jobs to the 
cluster is used to configure the AM.

Currently this configuration is whatever has been set in hadoop-conf/ which is 
minimal (setting yarn framework).

A problem arises in how AM and HS communicate to each other info a about a job 
(via HDFS), AM using default conf values writes to /tmp while HS started by 
minicluster looks in target/test-dir thus producing random failures. Random 
because if the AM is still alive when the client checks for the job, the AM 
gives the info correctly, but if the AM is gone the HS does not know about the 
job.

We should seed the configuration of minicluster as the hadoop-conf/ used by the 
testcases.


This addresses bug OOZIE-802.
    https://issues.apache.org/jira/browse/OOZIE-802


Diffs
-----

  trunk/core/src/test/java/org/apache/oozie/test/XTestCase.java 1309391 

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


Testing
-------

run testcases with hadoop 1 and Hadoop 0.23


Thanks,

Alejandro

Reply via email to