[
https://issues.apache.org/jira/browse/NIFI-12117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17769111#comment-17769111
]
ASF subversion and git services commented on NIFI-12117:
--------------------------------------------------------
Commit 31850d10fafbd016c23c704d897b50a120bf79c9 in nifi's branch
refs/heads/support/nifi-1.x from Bryan Bende
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=31850d10fa ]
NIFI-12117 Allow configuring Jackson's max string length in JoltTransformJSON
Signed-off-by: Pierre Villard <[email protected]>
This closes #7788.
> JoltTransformJSON exception with JSON strings over 20MB
> -------------------------------------------------------
>
> Key: NIFI-12117
> URL: https://issues.apache.org/jira/browse/NIFI-12117
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Affects Versions: 1.23.2
> Reporter: Gregory M. Foreman
> Assignee: Bryan Bende
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The following exception is thrown when attempting to process JSON string
> content greater than 20 MB:
> {code:java}
> JoltTransformJSON[id=a9fca990-018a-1000-0000-00006e33ec9a] JSON parsing
> failed for FlowFile[filename=07ddb61f-a581-4de9-932d-4cbdf3ef2b52]:
> com.bazaarvoice.jolt.exception.JsonUnmarshalException: Unable to unmarshal
> JSON to an Object.- Caused by:
> com.fasterxml.jackson.core.exc.StreamConstraintsException: String length
> (20051112) exceeds the maximum length (20000000) {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)