Re: a simple question

2007-11-02 Thread lohit
>Now,I want to read the file from hadoop directory,just like the hadoop shell >"bin/hadoop dfs -cat filename",but I don't know how I can do this >By programming,I need help ,thank you very much! http://lucene.apache.org/hadoop/api/org/apache/hadoop/fs/FileSystem.html Has all the methods you

a simple question

2007-11-01 Thread dan.zhengd
Hi all, I have configured the hadoop environment successfully,so I execute the hadoop shell bin/hadoop dfs -ls,then a file list will be showed, Now,I want to read the file from hadoop directory,just like the hadoop shell "bin/hadoop dfs -cat filename",but I don't know how I can do this By pro