On Monday 28 July 2008 13:31:42 wangxiaowei wrote: > Dear All, > I need use Hadoop to read all files in a given directory,I wonder > how to know the path is a directory not a file and if it is > how can I get all the files in the directory? > Thanks Very Much.
getFileStatus and listPaths should be enough to get you going. Andreas
signature.asc
Description: This is a digitally signed message part.