You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Jake Maes (JIRA)" <ji...@apache.org> on 2017/07/20 15:45:00 UTC

[jira] [Created] (SAMZA-1366) ScriptRunner should allow callers to control the child process environment.

Jake Maes created SAMZA-1366:
--------------------------------

             Summary: ScriptRunner should allow callers to control the child process environment.
                 Key: SAMZA-1366
                 URL: https://issues.apache.org/jira/browse/SAMZA-1366
             Project: Samza
          Issue Type: Bug
            Reporter: Jake Maes
            Assignee: Jake Maes
             Fix For: 0.14.0


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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)