diff options
author | Bernardo Gomez Palacio <bernardo.gomezpalacio@gmail.com> | 2014-06-09 16:14:54 -0500 |
---|---|---|
committer | Thomas Graves <tgraves@apache.org> | 2014-06-09 16:14:54 -0500 |
commit | e273447684779a18bd61d733bfe7958b78657ffd (patch) | |
tree | 1937d206e53aeb4eb393a2ff7d00d037f1f362eb /sql | |
parent | 6cf335d79a2f69ecd9a139dd0a03acff60585be4 (diff) | |
download | spark-e273447684779a18bd61d733bfe7958b78657ffd.tar.gz spark-e273447684779a18bd61d733bfe7958b78657ffd.tar.bz2 spark-e273447684779a18bd61d733bfe7958b78657ffd.zip |
[SPARK-1522] : YARN ClientBase throws a NPE if there is no YARN Application CP
The current implementation of ClientBase.getDefaultYarnApplicationClasspath inspects
the MRJobConfig class for the field DEFAULT_YARN_APPLICATION_CLASSPATH when it should
be really looking into YarnConfiguration. If the Application Configuration has no
yarn.application.classpath defined a NPE exception will be thrown.
Additional Changes include:
* Test Suite for ClientBase added
[ticket: SPARK-1522] : https://issues.apache.org/jira/browse/SPARK-1522
Author : bernardo.gomezpalacio@gmail.com
Testing : SPARK_HADOOP_VERSION=2.3.0 SPARK_YARN=true ./sbt/sbt test
Author: Bernardo Gomez Palacio <bernardo.gomezpalacio@gmail.com>
Closes #433 from berngp/feature/SPARK-1522 and squashes the following commits:
2c2e118 [Bernardo Gomez Palacio] [SPARK-1522]: YARN ClientBase throws a NPE if there is no YARN Application specific CP
Diffstat (limited to 'sql')
0 files changed, 0 insertions, 0 deletions