[
https://issues.apache.org/jira/browse/OOZIE-986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13453264#comment-13453264
]
Steven Willis commented on OOZIE-986:
-------------------------------------
I did see the JAVA_PROPERTIES, but there are two issues I have with that. I
can't currently use it since the oozie script provided by
oozie-3.1.3-incubating-distro.tar.gz overwrites JAVA_PROPERTIES to the empty
string before its use. Though it looks like this was fixed in [commit
2a1026|https://github.com/apache/oozie/commit/2a102670c38636dc652b4089a33829bd739ff64c#client-src-main-bin-oozie-P0].
Second issue is just consistency with other scripts.
The specific use case I'm having is that I actually want to lower the heap
space used as one of the systems I'm running under will kill a process if it
uses over 1GB of memory, which it seems like java does if I don't use "-Xmx".
> Oozie shell script should allow for setting of java options
> -----------------------------------------------------------
>
> Key: OOZIE-986
> URL: https://issues.apache.org/jira/browse/OOZIE-986
> Project: Oozie
> Issue Type: Improvement
> Components: scripts
> Affects Versions: 3.1.3, 3.2.0
> Environment: RHEL 6.0
> Reporter: Steven Willis
> Labels: java, options, shellscript
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> All the hadoop shell scripts (hadoop, hdfs, mapred, yarn) allow the setting
> of HADOOP_CLIENT_OPTS to pass custom options to java. I think the oozie shell
> script should allow the same through OOZIE_CLIENT_OPTS and similarly respect
> JAVA_HEAP_MAX like the hadoop shell scripts.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira