spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chester Chen <ches...@alpinenow.com>
Subject Re: Possible bug in ClientBase.scala?
Date Thu, 17 Jul 2014 17:03:54 GMT
OK   I will create PR.

thanks



On Thu, Jul 17, 2014 at 7:58 AM, Sean Owen <sowen@cloudera.com> wrote:

> Looks like a real problem. I see it too. I think the same workaround
> found in ClientBase.scala needs to be used here. There, the fact that
> this field can be a String or String[] is handled explicitly. In fact
> I think you can just call to ClientBase for this? PR it, I say.
>
> On Thu, Jul 17, 2014 at 3:24 PM, Chester Chen <chester@alpinenow.com>
> wrote:
> >     val knownDefMRAppCP: Seq[String] =
> >       getFieldValue[String, Seq[String]](classOf[MRJobConfig],
> >
> >  "DEFAULT_MAPREDUCE_APPLICATION_CLASSPATH",
> >                                          Seq[String]())(a =>
> a.split(","))
> >
> > will fail for yarn-alpha.
> >
> > sbt/sbt -Pyarn-alpha -Dhadoop.version=2.0.5-alpha yarn-alpha/test
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message