Chester created SPARK-3177:
------------------------------
Summary: Yarn-alpha ClientBaseSuite Unit test failed
Key: SPARK-3177
URL: https://issues.apache.org/jira/browse/SPARK-3177
Project: Spark
Issue Type: Bug
Components: YARN
Affects Versions: 1.1.1
Reporter: Chester
Priority: Minor
Fix For: 1.1.1
Yarn-alpha ClientBaseSuite Unit test failed due to differences of MRJobConfig
API between yarn-stable and yarn-alpha.
The class field
MRJobConfig.DEFAULT_MAPREDUCE_APPLICATION_CLASSPATH
in yarn-alpha
returns String Array
in yarn
returns String
the method will works for yarn-stable but will fail as it try to cast String
Array to String.
val knownDefMRAppCP: Seq[String] =
getFieldValue[String, Seq[String]](classOf[MRJobConfig],
"DEFAULT_MAPREDUCE_APPLICATION_CLASSPATH",
Seq[String]())(a => a.split(","))
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]