hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Lilley <john.lil...@redpoint.net>
Subject FileSystem iterative or limited alternative to listStatus()
Date Sat, 11 Jan 2014 23:52:49 GMT
Is there an HDFS file system method for listing a directory contents iteratively, or at least
stopping at some limit?  We have an application in which the user can type wildcards, which
our app expands.  However, during interactive phases we only want the first matching file
to check its format.  There may be folders with many 1000s of files...
Thanks
John


Mime
View raw message