[ 
https://issues.apache.org/jira/browse/HADOOP-17945?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Loughran updated HADOOP-17945:
------------------------------------
    Summary: JsonSerialization raises EOFException reading JSON data stored on 
google GCS  (was: JsonSerialization raises EOFException reading JSON off google 
GCS)

> 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
>
> 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]

Reply via email to