Re: Passing Java Options to Spark AM launching

2014-12-01 Thread Zhan Zhang
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  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

2014-12-01 Thread Mohammad Islam
Thanks Tobias for the answer.Does it work for "driver" as well?
Regards,Mohammad 

 On Monday, December 1, 2014 5:30 PM, Tobias Pfeiffer  
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 
.
Tobias



   

Re: Passing Java Options to Spark AM launching

2014-12-01 Thread Tobias Pfeiffer
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


Passing Java Options to Spark AM launching

2014-12-01 Thread Mohammad Islam
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