Open GoogleCodeExporter opened 8 years ago
Original comment by jianfeng...@gmail.com
on 17 Jun 2015 at 5:47
I looked at this and it only happens with the delimited data parser.
When reading from local file, the reader returns the bytes as they are read,
while when reading from HDFS, if the buffer is not enough, the reader returns
0. In the case of ADM parser, the parser double the buffer size and call the
read function again while in the case of the local file reader, an exception is
thrown.
It is easy to fix and will fix it very soon.
Original comment by bamou...@gmail.com
on 19 Jun 2015 at 7:03
Correction:
It fails for both ADM and delimited files since they both use InputStreamReader
which doesn't allow returning of zero bytes.
Original comment by bamou...@gmail.com
on 19 Jun 2015 at 7:17
Original issue reported on code.google.com by
jianfeng...@gmail.com
on 17 Jun 2015 at 7:35Attachments: