Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-2833

when using uber mode the regex pattern used in the extractHeapSizeMB method does not allow heap sizes specified in bytes.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        1. OOZIE-2833.02.patch
          17 kB
          Attila Sasvári
        2. OOZIE-2833.01.patch
          14 kB
          Attila Sasvári

        Issue Links

          Activity

            People

              asasvari Attila Sasvári
              tscott@cloudera.com Thomas Scott
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: