[SPARK-18662][HOTFIX] Add new resource-managers directories to SparkLauncher.
These directories are added to the classpath of applications when testing or using SPARK_PREPEND_CLASSES, otherwise updated classes are not seen. Also, add the mesos directory which was missing. Author: Marcelo Vanzin <vanzin@cloudera.com> Closes #16202 from vanzin/SPARK-18662.
This commit is contained in:
parent
6a5a7254dc
commit
b44d1b8fcf
|
@ -158,12 +158,13 @@ abstract class AbstractCommandBuilder {
|
|||
"launcher",
|
||||
"mllib",
|
||||
"repl",
|
||||
"resource-managers/mesos",
|
||||
"resource-managers/yarn",
|
||||
"sql/catalyst",
|
||||
"sql/core",
|
||||
"sql/hive",
|
||||
"sql/hive-thriftserver",
|
||||
"streaming",
|
||||
"yarn"
|
||||
"streaming"
|
||||
);
|
||||
if (prependClasses) {
|
||||
if (!isTesting) {
|
||||
|
|
Loading…
Reference in a new issue