Jhon Cardenas created ZEPPELIN-3641:
---------------------------------------
Summary: Impersonation for spark without native proxy user can
potentially fail
Key: ZEPPELIN-3641
URL: https://issues.apache.org/jira/browse/ZEPPELIN-3641
Project: Zeppelin
Issue Type: Bug
Components: zeppelin-interpreter
Affects Versions: 0.8.0
Reporter: Jhon Cardenas
Impersonation for spark without native proxy user can potentially fail.
When impersonation in on for spark without native proxy user
(ZEPPELIN_IMPERSONATE_SPARK_PROXY_USER=false) and the spark interpreter has a
property value with a blank space, the spark paragraphs fail.
How to reproduce:
# Turn on impersonation for spark.
# Disable native proxy user (ZEPPELIN_IMPERSONATE_SPARK_PROXY_USER=false).
# Specify the impersonation command: ZEPPELIN_IMPERSONATE_CMD='sudo -H -u
${ZEPPELIN_IMPERSONATE_USER} bash -c ' (With the default command the same error
should happen)
# Put a property with at least one blank space, for example:
||Name||Value||
|spark.executor.extraJavaOptions|-Dpro1=val1 -Dprop1=val2|
# Run a spark paragraph.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)