hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohammad Tariq <donta...@gmail.com>
Subject Re: How to find EOF
Date Wed, 13 Jun 2012 07:22:20 GMT
thank you Denny.

Regards,
    Mohammad Tariq


On Wed, Jun 13, 2012 at 5:47 AM, Denny Ye <dennyy99@gmail.com> wrote:
> 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