You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/09/26 11:02:00 UTC
[jira] [Commented] (NIFI-12117) JoltTransformJSON exception with JSON strings over 20MB
[ https://issues.apache.org/jira/browse/NIFI-12117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17769110#comment-17769110 ]
ASF subversion and git services commented on NIFI-12117:
--------------------------------------------------------
Commit 04e54d5ea7f24b470c52fd38e18ae3e0eb2de62d in nifi's branch refs/heads/main from Bryan Bende
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=04e54d5ea7 ]
NIFI-12117 Allow configuring Jackson's max string length in JoltTransformJSON
Signed-off-by: Pierre Villard <pi...@gmail.com>
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: 10m
> 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)