Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HDFS, mail # user - How to find EOF


Copy link to this message
-
Re: How to find EOF
Mohammad Tariq 2012-06-13, 07:22
thank you Denny.

Regards,
    Mohammad Tariq
On Wed, Jun 13, 2012 at 5:47 AM, Denny Ye <[EMAIL PROTECTED]> wrote:
> DFSInputStream.available();
>
>
> 2012/6/13 Mohammad Tariq <[EMAIL PROTECTED]>
>>
>> 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
>
>