You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Mariusz Galus (JIRA)" <ji...@apache.org> on 2017/10/11 18:36:00 UTC
[jira] [Updated] (SPARK-22255) FileAppender InputStream.read()
timeout and blocking state
[ https://issues.apache.org/jira/browse/SPARK-22255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mariusz Galus updated SPARK-22255:
----------------------------------
Summary: FileAppender InputStream.read() timeout and blocking state (was: FileAppender InputStream.read() timeout)
> FileAppender InputStream.read() timeout and blocking state
> ----------------------------------------------------------
>
> Key: SPARK-22255
> URL: https://issues.apache.org/jira/browse/SPARK-22255
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Affects Versions: 2.2.0
> Reporter: Mariusz Galus
> Priority: Minor
>
> The FileAppender logic when reading from InputStream blocks. This can be simply avoided with a InputStream.available() check prior to reading.
> If this is done, a variable for estimated available bytes needs to be instantiated to use in the conditionals. The conditional for reading from the inputstream and the conditional for appending to the file.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org