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 programming,I need help ,thank you very much!!!!!