Description
Stream read is never supposed to return 0 unless 0 bytes were requested, that breaks protobuf.
The reason the streams can return 0 is that some buffers decompress to 0 bytes due to HADOOP-15171.
Stream read is never supposed to return 0 unless 0 bytes were requested, that breaks protobuf.
The reason the streams can return 0 is that some buffers decompress to 0 bytes due to HADOOP-15171.