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-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-dev-h...@hadoop.apache.org