[
https://issues.apache.org/jira/browse/HADOOP-17945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Loughran resolved HADOOP-17945.
-------------------------------------
Fix Version/s: (was: 3.4.0)
3.3.2
Resolution: Fixed
> JsonSerialization raises EOFException reading JSON data stored on google GCS
> ----------------------------------------------------------------------------
>
> Key: HADOOP-17945
> URL: https://issues.apache.org/jira/browse/HADOOP-17945
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs
> Affects Versions: 3.3.1
> Reporter: Steve Loughran
> Assignee: Steve Loughran
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.3.2
>
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
> The JsonSerialization<> load code doesn't work on gcs as it uses
> "stream.available()" to fail with a meaningful message if the stream is empty.
> But that method is meant to say how much data is available without blocking,
> something we actually get wrong ourselves. Google GCS team didn't get it
> wrong, so on a read(), if there's no local buffer, an EOFException is raised
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]