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

ScriptRunner should allow callers to control the child process environment.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.13.1
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: