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

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.0
    • 1.8.0, 1.7.1
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            petertoth Peter Toth
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment