You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Thomas Scott (JIRA)" <ji...@apache.org> on 2017/03/20 14:20:41 UTC
[jira] [Created] (OOZIE-2833) when using uber mode the regex
pattern used in the extractHeapSizeMB method does not allow heap sizes
specified in bytes.
Thomas Scott created OOZIE-2833:
-----------------------------------
Summary: when using uber mode the regex pattern used in the extractHeapSizeMB method does not allow heap sizes specified in bytes.
Key: OOZIE-2833
URL: https://issues.apache.org/jira/browse/OOZIE-2833
Project: Oozie
Issue Type: Bug
Reporter: Thomas Scott
Priority: Minor
The extractHeapSizeMB method used here:
https://github.com/apache/oozie/blob/9c0516608bdd0787b1fac3a69ccfe9d36cbb2d15/core/src/main/java/org/apache/oozie/action/hadoop/JavaActionExecutor.java#L401
Uses the following pattern:
-Xmx(([0-9]+)[mMgG])
This requires that the -Xmx configuration option end in "m" or "g". However, it is valid to configure this option in bytes without the "m" or "g" and this will not be picked up.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)