[
https://issues.apache.org/jira/browse/NIFI-3389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15852157#comment-15852157
]
Michael Moser commented on NIFI-3389:
-------------------------------------
The 65535 byte limit is a symptom of DataOutputStream writeUTF(), which is used
by SchemaRecordWriter writeRecord(). NIFI-3055 fixes SchemaRecordWriter so
that it truncates and logs a WARN rather than throwing an exception.
I think I will bump the priority of this ticket, because this is a significant
regression.
> FlowFileSchema writes attribute name and value as STRING instead of
> LONG_STRING
> -------------------------------------------------------------------------------
>
> Key: NIFI-3389
> URL: https://issues.apache.org/jira/browse/NIFI-3389
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 1.1.0
> Reporter: Bryan Rosander
> Assignee: Bryan Rosander
> Labels: regression
>
> This causes errors when the names or values of attributes exceeds 65535 bytes
> when encoded as UTF-8.
> The fix would be pretty trivial but it has backwards compatibility
> implications and the schema will need to be versioned to still be able to
> read old flow files.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)