[
https://issues.apache.org/jira/browse/HADOOP-17945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17422052#comment-17422052
]
Steve Loughran commented on HADOOP-17945:
-----------------------------------------
This is fixed in MAPREDUCE-7341; I just want to pull out the fix into 3.3.2
> JsonSerialization raises EOFException reading JSON off 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
>
> 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]