1..hadoop exception Does not contain a valid host:port authrity:file:///
rpm默认的配置文件在/etc/hadoop
2.hadoop创建目录
[hadoop@centos5 ~] # hadoop fs -mkdir /input
3.上传本地文件到hadoop
[hadoop@centos5 ~] # hadoop fs -put /opt/hadoop/hadoop-1.0.3.i386.rpm /input
3.创建和删除目录
[hadoop@centos5 ~] # hadoop fs -mkdir /output
[hadoop@centos5 ~] # hadoop fs -rmr /output*
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10531/viewspace-741385/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/10531/viewspace-741385/