Github user Leemoonsoo commented on the pull request: https://github.com/apache/incubator-zeppelin/pull/789#issuecomment-201166366 The reason set env in RemoteInterpreter is, environment variable need to set before the process creation. So shell script (./bin/interpreter.sh) can take these environment variables. The reason system properties set in RemoteInterpreterServer is, if system properties are set through commandline argument, very long list of system properties may exceeds the limit of maximum argument length on the system. I think this PR will not impact much about Spark interpreter and it's properties (e.g. `spark.executor.memory`). Without this PR, Spark interpreter already overrides spark conf value from zeppelin interpreter properties.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---