Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 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
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
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB