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

ScriptRunner should allow callers to control the child process environment.

    Details

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

      Description

      The ScriptRunner class used by samza-rest currently uses the defaults for ProcessBuilder to construct the child process and by default, all environment variables are forwarded to the child process.

      This causes problems with log settings (e.g. console vs file), class path, config collisions, etc.

      The goals of this ticket are:
      1. Allow the caller to dictate whether to forward the environment variables or start with a clean slate.
      2. Allow the caller to explicitly specify environment variables to add to the child environment.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jmakes Jake Maes
                Reporter:
                jmakes Jake Maes
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: