Lee moon soo created ZEPPELIN-95:
------------------------------------
Summary: Make environment variables and jvm properties
customizable per Interpreter
Key: ZEPPELIN-95
URL: https://issues.apache.org/jira/browse/ZEPPELIN-95
Project: Zeppelin
Issue Type: New Feature
Components: Core, GUI, Interpreters
Reporter: Lee moon soo
Currently, the same environment variables and jvm properties are applied for
all interpreter process.
It would be nice if we can configure them per interpreter process.
Here's proposed way, in terms of API
h3. Environment variables
like InterpreterPropertyBuilder, add InterpreterEnvironmentVariableBuilder
{code}
public class YourInterpreter extends Interpreter {
static {
Interpreter.register(
"name",
"group",
YourInterpreter.class.getName(),
new InterpreterPropertyBuilder().add(...).build(),
new InterpreterEnvironmentVariableBuilder().add(...).build() <---
Environment variable builder
)
}
...
{code}
it'll display interpreter menu a default set of environment variables. and user
will able to modify them. just like interpreter property at the moment.
h3. Jvm properties
InterpreterPropertyBuilder will have option to export it's property to JVM
property.
{code}
new InterpreterPropertyBuilder().asJvmProperty(true).add(...).build(),
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)