You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Peter Toth (JIRA)" <ji...@apache.org> on 2018/06/07 09:58:00 UTC
[jira] [Updated] (NIFI-5278) ExecuteSparkInteractive processor
fails on code containing a quote
[ https://issues.apache.org/jira/browse/NIFI-5278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Toth updated NIFI-5278:
-----------------------------
Description: ExecuteSparkInteractive uses org.apache.commons.lang.StringEscapeUtils.escapeJavaScript() which results quotes to be escaped as \'. This breaks JSON payload of the Livy REST API. (was: ExecuteSparkInteractive uses org.apache.commons.lang.StringEscapeUtils.escapeJavaScript() which results quotes to be escaped as \' this breaks JSON payload.)
> ExecuteSparkInteractive processor fails on code containing a quote
> ------------------------------------------------------------------
>
> Key: NIFI-5278
> URL: https://issues.apache.org/jira/browse/NIFI-5278
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 1.6.0
> Reporter: Peter Toth
> Priority: Major
>
> ExecuteSparkInteractive uses org.apache.commons.lang.StringEscapeUtils.escapeJavaScript() which results quotes to be escaped as \'. This breaks JSON payload of the Livy REST API.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)