You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by Kevin Verhoeven <Ke...@ds-iq.com> on 2016/07/07 21:39:16 UTC
java.net.SocketTimeoutException: timeout when reading flowfile
Occasionally I receive and error reading a flowfile. This occurs about one time per thousand flowfiles. The flowfile exists and is readable on a second attempt. I'd like to increase the timeout, do you know if this is possible?
ERROR: Could not read the flowfile content: /filename.txt java.net.SocketTimeoutException: timeout
Thanks,
Kevin
Re: java.net.SocketTimeoutException: timeout when reading flowfile
Posted by Joe Witt <jo...@gmail.com>.
Kevin,
Can you get us the full log entry and/or stack dump for this.
Thanks
Joe
On Thu, Jul 7, 2016 at 3:58 PM, Kevin Verhoeven
<Ke...@ds-iq.com> wrote:
> I am running on version 0.7.0.
>
>
>
> I am generating files using the GenerateFlowFile Processor to create a batch
> of 1,000 unique text flowfiles of 1 KB each. They are local flowfiles, I am
> not trying to communicate over the network to access a file.
>
>
>
> Thanks,
>
>
>
> Kevin
>
>
>
> From: Andy LoPresto [mailto:alopresto@apache.org]
> Sent: Thursday, July 7, 2016 3:00 PM
> To: users@nifi.apache.org
> Subject: Re: java.net.SocketTimeoutException: timeout when reading flowfile
>
>
>
> Hi Kevin,
>
>
>
> What processor are you using here? Is it just a GetFile/FetchFile processor
> or something else where that *is* the flowfile content?
>
>
>
> Which version are you running? Released 0.6.1, as-of-yet-unreleased 0.7.0,
> or the “master” (unreleased) 1.0.0?
>
>
>
> The SocketTimeoutException is interesting, because it is unusual if you’re
> reading from a local filesystem. Are you trying to communicate over the
> network to access this file?
>
>
>
>
>
> Andy LoPresto
>
> alopresto@apache.org
>
> alopresto.apache@gmail.com
>
> PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4 BACE 3C6E F65B 2F7D EF69
>
>
>
> On Jul 7, 2016, at 2:39 PM, Kevin Verhoeven <Ke...@ds-iq.com>
> wrote:
>
>
>
> Occasionally I receive and error reading a flowfile. This occurs about one
> time per thousand flowfiles. The flowfile exists and is readable on a second
> attempt. I'd like to increase the timeout, do you know if this is possible?
>
> ERROR: Could not read the flowfile content: /filename.txt
> java.net.SocketTimeoutException: timeout
>
> Thanks,
>
> Kevin
>
>
RE: java.net.SocketTimeoutException: timeout when reading flowfile
Posted by Kevin Verhoeven <Ke...@ds-iq.com>.
I am running on version 0.7.0.
I am generating files using the GenerateFlowFile Processor to create a batch of 1,000 unique text flowfiles of 1 KB each. They are local flowfiles, I am not trying to communicate over the network to access a file.
Thanks,
Kevin
From: Andy LoPresto [mailto:alopresto@apache.org]
Sent: Thursday, July 7, 2016 3:00 PM
To: users@nifi.apache.org
Subject: Re: java.net.SocketTimeoutException: timeout when reading flowfile
Hi Kevin,
What processor are you using here? Is it just a GetFile/FetchFile processor or something else where that *is* the flowfile content?
Which version are you running? Released 0.6.1, as-of-yet-unreleased 0.7.0, or the “master” (unreleased) 1.0.0?
The SocketTimeoutException is interesting, because it is unusual if you’re reading from a local filesystem. Are you trying to communicate over the network to access this file?
Andy LoPresto
alopresto@apache.org<ma...@apache.org>
alopresto.apache@gmail.com<ma...@gmail.com>
PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4 BACE 3C6E F65B 2F7D EF69
On Jul 7, 2016, at 2:39 PM, Kevin Verhoeven <Ke...@ds-iq.com>> wrote:
Occasionally I receive and error reading a flowfile. This occurs about one time per thousand flowfiles. The flowfile exists and is readable on a second attempt. I'd like to increase the timeout, do you know if this is possible?
ERROR: Could not read the flowfile content: /filename.txt java.net.SocketTimeoutException: timeout
Thanks,
Kevin
Re: java.net.SocketTimeoutException: timeout when reading flowfile
Posted by Andy LoPresto <al...@apache.org>.
Hi Kevin,
What processor are you using here? Is it just a GetFile/FetchFile processor or something else where that *is* the flowfile content?
Which version are you running? Released 0.6.1, as-of-yet-unreleased 0.7.0, or the “master” (unreleased) 1.0.0?
The SocketTimeoutException is interesting, because it is unusual if you’re reading from a local filesystem. Are you trying to communicate over the network to access this file?
Andy LoPresto
alopresto@apache.org
alopresto.apache@gmail.com
PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4 BACE 3C6E F65B 2F7D EF69
> On Jul 7, 2016, at 2:39 PM, Kevin Verhoeven <Ke...@ds-iq.com> wrote:
>
> Occasionally I receive and error reading a flowfile. This occurs about one time per thousand flowfiles. The flowfile exists and is readable on a second attempt. I'd like to increase the timeout, do you know if this is possible?
>
> ERROR: Could not read the flowfile content: /filename.txt java.net.SocketTimeoutException: timeout
>
> Thanks,
>
> Kevin
>