[ 
https://issues.apache.org/jira/browse/SPARK-3177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Graves resolved SPARK-3177.
----------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 1.1.1)
                   1.2.0

> 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
>              Labels: test
>             Fix For: 1.2.0
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to