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

Add xercesImpl to scripting NAR for Jython 2.7.1

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8.0
    • Component/s: Extensions
    • Labels:
      None

      Description

      NIFI-4301 bumped the version of Jython from Jython 2.7.0 to 2.7.1 in order to get a fix related to the os.getpid() method. However Jython 2.7.1 does not include Xerces (which provides the SAXParser for XML parsing), so although one bug is fixed, a capability has been degraded.

      Recommend explicitly adding Xerces as a dependency to the scripting NAR, and make sure the unit tests and such run for other languages, so as not to introduce a classloading issue if some engine brings their own Xerces shaded into the engine's JAR(s), for example.

        Attachments

          Activity

            People

            • Assignee:
              mattyb149 Matt Burgess
              Reporter:
              mattyb149 Matt Burgess

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment