To clarify, I was referring to driver memory.

Regards
Mridul
On Mar 7, 2014 2:12 AM, "Sandy Ryza" <notifications@github.com> wrote:

> In core/src/main/scala/org/apache/spark/deploy/SparkApp.scala:
>
> > +    )
> > +
> > +    // args
> > +    if (deployMode == CLIENT || clusterManager == STANDALONE) {
> > +      childArgs ++= appArgs.childArgs
> > +    } else if (clusterManager == YARN) {
> > +      for (arg <- appArgs.childArgs) {
> > +        childArgs += "--args"
> > +        childArgs += arg
> > +      }
> > +    }
> > +
> > +    // client memory
> > +    if (appArgs.driverMemory != null && deployMode == CLIENT) {
> > +      childArgs += "-Xmx" + appArgs.driverMemory
> > +    }
>
> Unless I'm missing something, the yarn-standalone case is handled in the
> else block.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/apache/spark/pull/86/files#r10359569>
> .
>