hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pete Wyckoff <pwyck...@facebook.com>
Subject Re: Can FSDataInputStream.read return 0 bytes and if so, what does that mean?
Date Sat, 08 Nov 2008 04:09:10 GMT
Just want to ensure 0 iff EOF or the requested #of bytes was 0.

On 11/7/08 6:13 PM, "Pete Wyckoff" <pwyckoff@facebook.com> wrote:



The javadocs says reads up to size bytes. What happens if it returns < 0
(presumably an error) or 0 bytes (??)

Thanks, pete




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message