[ 
https://issues.apache.org/jira/browse/TEZ-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14044907#comment-14044907
 ] 

Rohini Palaniswamy commented on TEZ-1127:
-----------------------------------------

bq. I guess the question is if you set the AM container size to 2.5 G or 4 G, 
are you ok with Tez setting the java opts by calculating Xmx to be 80% of 
container size?
   We are ok with it 95% of the time. But there are cases where we have to set 
lower Xmx because of memory consumption by jni code. Confirmed with 
[~knoguchi], that we have users doing that. So will need a way to turn that 
off. 

> Add TEZ_TASK_JAVA_OPTS and TEZ_ENV configs to specify values from config
> ------------------------------------------------------------------------
>
>                 Key: TEZ-1127
>                 URL: https://issues.apache.org/jira/browse/TEZ-1127
>             Project: Apache Tez
>          Issue Type: Sub-task
>    Affects Versions: 0.4.0
>            Reporter: Pala M Muthaia
>            Assignee: Bikas Saha
>             Fix For: 0.5.0
>
>         Attachments: PIG-TEZ-1127.patch, TEZ-1127.1.patch, TEZ-1127.2.patch
>
>
> There is no global setting available to specify JVM parameters for tez tasks 
> (e.g: specifying native library location with java.library.path). Yarn allows 
> specifying application.classpath, but not java opts. The only option right 
> now is to set mapreduce.map.java.opts in the tez job config (or 
> hive.tez.java.opts for Hive on Tez).
> Suggestion from Bikas, while discussing this in tez-user group, is tez should 
> have "TEZ_TASK_JAVA_OPTS so that you don’t have to specify this via mapreduce 
> configuration parameters"



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to