diff options
author | huangzhaowei <carlmartinmax@gmail.com> | 2015-01-07 08:10:42 -0600 |
---|---|---|
committer | Thomas Graves <tgraves@apache.org> | 2015-01-07 08:10:42 -0600 |
commit | 5fde66163fe460d6f64b145047f76cc4ee33601a (patch) | |
tree | 91975e5f97d343604fcd31d51a1765992b7323d3 /docs | |
parent | e21acc1978a6f4a57ef2e08490692b0ffe05fa9e (diff) | |
download | spark-5fde66163fe460d6f64b145047f76cc4ee33601a.tar.gz spark-5fde66163fe460d6f64b145047f76cc4ee33601a.tar.bz2 spark-5fde66163fe460d6f64b145047f76cc4ee33601a.zip |
[YARN][SPARK-4929] Bug fix: fix the yarn-client code to support HA
Nowadays, yarn-client will exit directly when the HA change happens no matter how many times the am should retry.
The reason may be that the default final status only considerred the sys.exit, and the yarn-client HA cann't benefit from this.
So we should distinct the default final status between client and cluster, because the SUCCEEDED status may cause the HA failed in client mode and UNDEFINED may cause the error reporter in cluster when using sys.exit.
Author: huangzhaowei <carlmartinmax@gmail.com>
Closes #3771 from SaintBacchus/YarnHA and squashes the following commits:
c02bfcc [huangzhaowei] Improve the comment of the funciton 'getDefaultFinalStatus'
0e69924 [huangzhaowei] Bug fix: fix the yarn-client code to support HA
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions