You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (Jira)" <ji...@apache.org> on 2021/09/29 10:40:00 UTC
[jira] [Created] (HADOOP-17945) JsonSerialization raises
EOFException reading JSON off google GCS
Steve Loughran created HADOOP-17945:
---------------------------------------
Summary: 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
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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org