Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-805

"task.opts" config is not passed in case of ProcessJobFactory

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.10.0
    • Component/s: None
    • Labels:
      None

      Description

      ProcessJobFactory is creating a separate process by using ProcessBuilder. ProcessBuilder pulls its settings from the environment.
      So if the user specifies task.opts and java.home in the configs they need to be passed to the ProcessBuilder environment.
      But currently we strip the configs of all the values, except the ones required by JobCoordinator.

      As the result the process is created without task.opts option. This causes issues with heap memory size settings, debugging and so on.

      The fix is to pass full config to the ProcessBuilder in case of ProcessJob.

        Attachments

        1. rb39999.patch
          0.8 kB
          Boris Shkolnik

          Activity

            People

            • Assignee:
              boryas Boris Shkolnik
              Reporter:
              boryas Boris Shkolnik
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: