diff options
author | WangTaoTheTonic <barneystinson@aliyun.com> | 2014-10-28 08:53:10 -0500 |
---|---|---|
committer | Thomas Graves <tgraves@apache.org> | 2014-10-28 08:53:10 -0500 |
commit | e8813be6539aba1cd1f8854c204b7938464403ed (patch) | |
tree | b2296dbb4bf0148e3228bcf778aab30906806dd8 /streaming | |
parent | 47346cd029abc50c70582a721810a7cceb682d8a (diff) | |
download | spark-e8813be6539aba1cd1f8854c204b7938464403ed.tar.gz spark-e8813be6539aba1cd1f8854c204b7938464403ed.tar.bz2 spark-e8813be6539aba1cd1f8854c204b7938464403ed.zip |
[SPARK-4095][YARN][Minor]extract val isLaunchingDriver in ClientBase
Instead of checking if `args.userClass` is null repeatedly, we extract it to an global val as in `ApplicationMaster`.
Author: WangTaoTheTonic <barneystinson@aliyun.com>
Closes #2954 from WangTaoTheTonic/MemUnit and squashes the following commits:
13bda20 [WangTaoTheTonic] extract val isLaunchingDriver in ClientBase
Diffstat (limited to 'streaming')
0 files changed, 0 insertions, 0 deletions