hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denny Ye <denny...@gmail.com>
Subject Re: How to find EOF
Date Wed, 13 Jun 2012 00:17:27 GMT
DFSInputStream.available();

2012/6/13 Mohammad Tariq <dontariq@gmail.com>

> Hello list,
>
>    Is it possible to find the end of a file stored in hdfs using the
> hdfs API??currently I am comparing FSDataInputStream.getPos() with
> FileSystem.getFileStatus().getLen() to serve the purpose..Thank you
>
> Regards,
>     Mohammad Tariq
>

Mime
View raw message