diff options
author | Terence Yim <terence@cask.co> | 2016-02-25 13:29:30 +0000 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-02-25 13:29:30 +0000 |
commit | fae88af18445c5a88212b4644e121de4b30ce027 (patch) | |
tree | f0256246dc4aac9bbc592840d80e4a6df131eb0f /docs | |
parent | 6f8e835c68dff6fcf97326dc617132a41ff9d043 (diff) | |
download | spark-fae88af18445c5a88212b4644e121de4b30ce027.tar.gz spark-fae88af18445c5a88212b4644e121de4b30ce027.tar.bz2 spark-fae88af18445c5a88212b4644e121de4b30ce027.zip |
[SPARK-13441][YARN] Fix NPE in yarn Client.createConfArchive method
## What changes were proposed in this pull request?
Instead of using result of File.listFiles() directly, which may throw NPE, check for null first. If it is null, log a warning instead
## How was the this patch tested?
Ran the ./dev/run-tests locally
Tested manually on a cluster
Author: Terence Yim <terence@cask.co>
Closes #11337 from chtyim/fixes/SPARK-13441-null-check.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions