Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-5278

ExecuteSparkInteractive processor fails on code containing a quote

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.8.0, 1.7.1
    • Component/s: None
    • Labels:
      None

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              petertoth Peter Toth

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment