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

Bikas Saha commented on TEZ-1127:
---------------------------------

Per offline discussion, TEZ-699 will infer -xmx java opts based on task memory 
size.
This jira will track adding a config for java opts and env. These may be used 
to augment a job without re-compiling. The default value of the env config 
could take care of adding LD_LIBRARY_PATH. This would serve as an example and 
also prevent unnecessary addition of LD_LIBRARY_PATH inside the code. If its 
not needed, the client config could be updated to remove it.

> 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
>
> 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