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
-
How to find EOF
Mohammad Tariq 2012-06-12, 21:30
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