You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Andras Piros (JIRA)" <ji...@apache.org> on 2018/08/17 12:25:00 UTC
[jira] [Updated] (OOZIE-3330) [spark-action] Remove double quotes
inside plain option values
[ https://issues.apache.org/jira/browse/OOZIE-3330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andras Piros updated OOZIE-3330:
--------------------------------
Description:
For Spark action parametrization, OOZIE-2984 fixed the case where users tried to put quoted values inside assembled options, like {{--conf name1="value1 value2"}}. The underlying Spark executor JVM treats {{"value1 value2"}} as one value with the quotes - we needed to remove these before passing to Spark.
We have to extend that approach for plain option values like this: {{--name "value1 value2"}} where we also need to remove the quotes.
was:
For Spark action parametrization, OOZIE-2984 fixed the case where users tried to put quoted values inside assembled options, like {{--conf name1=\"value1 value2\"}}. The underlying Spark executor JVM treats {{\"value1 value2\"}} as one value with the quotes - we needed to remove these before passing to Spark.
We have to extend that approach for plain option values like this: {{--name \"value1 value2\"}} where we also need to remove the quotes.
> [spark-action] Remove double quotes inside plain option values
> --------------------------------------------------------------
>
> Key: OOZIE-3330
> URL: https://issues.apache.org/jira/browse/OOZIE-3330
> Project: Oozie
> Issue Type: Bug
> Components: action
> Affects Versions: 5.0.0
> Reporter: Andras Piros
> Priority: Major
>
> For Spark action parametrization, OOZIE-2984 fixed the case where users tried to put quoted values inside assembled options, like {{--conf name1="value1 value2"}}. The underlying Spark executor JVM treats {{"value1 value2"}} as one value with the quotes - we needed to remove these before passing to Spark.
> We have to extend that approach for plain option values like this: {{--name "value1 value2"}} where we also need to remove the quotes.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)