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 2020/03/25 21:41:00 UTC
[jira] [Commented] (NIFI-7281) ListenTCPRecord + CsvReader produces
exception
[ https://issues.apache.org/jira/browse/NIFI-7281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17067098#comment-17067098 ]
ASF subversion and git services commented on NIFI-7281:
-------------------------------------------------------
Commit 57848880827bd2fe24a88a21ae56b6f46df40d27 in nifi's branch refs/heads/master from Bryan Bende
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=5784888 ]
NIFI-7281 This closes #4159. Use BufferedInputStream in StandardSocketChannelRecordReader in order to support mark/reset
Signed-off-by: Joe Witt <jo...@apache.org>
> ListenTCPRecord + CsvReader produces exception
> ----------------------------------------------
>
> Key: NIFI-7281
> URL: https://issues.apache.org/jira/browse/NIFI-7281
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 1.11.4
> Reporter: Bryan Bende
> Assignee: Bryan Bende
> Priority: Major
> Fix For: 1.12.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> After adding schema inference, the CsvReader now uses mark/reset. ListenTCPRecord has two classes, StandardSocketChannelRecordReader and SSLSocketChannelRecordReader. The SSL variant wraps the socket InputStream in a BufferedInputStream which allows it to support mark/reset, but the standard one doesn't so it throws an exception about mark/reset not being supported.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)