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

ReplaceText with Expression Language in Match Group results in Data Loss/Corruption

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Duplicate
    • 1.11.4, 1.12.1
    • 1.13.0
    • Extensions
    • None
    • Running in Docker in Kubernetes on a Ubuntu Host
    • Important

    Description

      This seems to be related to https://issues.apache.org/jira/browse/NIFI-7683

      When I run a ReplaceText processor with multiple Threads and also manipulate the result within an expression (im my case ${'$1':escapeJson()}), the processor will corrupt (cut off) or loose data.

      I attached a template that demonstrates the case.

      I did not see these problems in 1.11.2, never tried 1.11.3, and have i since then with every release (1.12.0 and 1.12.1).

      Finally, after noticing the bug mentioned above, I was able to reproduce the problem.

      Blocker and Important, because the user can loose data.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ribx Robin Lutz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: