You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Mohammad Islam <mi...@yahoo.com.INVALID> on 2014/12/02 01:49:06 UTC
Passing Java Options to Spark AM launching
Hi,How to pass the Java options (such as "-XX:MaxMetaspaceSize=100M") when lunching AM or task containers?
This is related to running Spark on Yarn (Hadoop 2.3.0). In Map-reduce case, setting the property such as
"mapreduce.map.java.opts" would do the work.
Any help would be highly appreciated.
Regards,Mohammad
Re: Passing Java Options to Spark AM launching
Posted by Zhan Zhang <zz...@hortonworks.com>.
Please check whether https://github.com/apache/spark/pull/3409#issuecomment-64045677 solve the problem for launching AM.
Thanks.
Zhan Zhang
On Dec 1, 2014, at 4:49 PM, Mohammad Islam <mi...@yahoo.com.INVALID> wrote:
> Hi,
> How to pass the Java options (such as "-XX:MaxMetaspaceSize=100M") when lunching AM or task containers?
>
> This is related to running Spark on Yarn (Hadoop 2.3.0). In Map-reduce case, setting the property such as
> "mapreduce.map.java.opts" would do the work.
>
> Any help would be highly appreciated.
>
> Regards,
> Mohammad
>
>
>
>
>
--
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to
which it is addressed and may contain information that is confidential,
privileged and exempt from disclosure under applicable law. If the reader
of this message is not the intended recipient, you are hereby notified that
any printing, copying, dissemination, distribution, disclosure or
forwarding of this communication is strictly prohibited. If you have
received this communication in error, please contact the sender immediately
and delete it from your system. Thank You.
Re: Passing Java Options to Spark AM launching
Posted by Mohammad Islam <mi...@yahoo.com.INVALID>.
Thanks Tobias for the answer.Does it work for "driver" as well?
Regards,Mohammad
On Monday, December 1, 2014 5:30 PM, Tobias Pfeiffer <tg...@preferred.jp> wrote:
Hi,
have a look at the documentation for spark.driver.extraJavaOptions (which seems to have disappeared since I looked it up last week) and spark.executor.extraJavaOptions at <http://spark.apache.org/docs/latest/configuration.html#runtime-environment>.
Tobias
Re: Passing Java Options to Spark AM launching
Posted by Tobias Pfeiffer <tg...@preferred.jp>.
Hi,
have a look at the documentation for spark.driver.extraJavaOptions (which
seems to have disappeared since I looked it up last week)
and spark.executor.extraJavaOptions at <
http://spark.apache.org/docs/latest/configuration.html#runtime-environment>.
Tobias