赞
踩
./bin/hdfs dfs -put test.txt test/
./bin/hdfs dfs -appendToFile local.txt test/test.txt
./bin/hdfs dfs -cat test/test.txt
结果
if $(./bin/hdfs dfs -test -e /usr/local/hadoop/test.txt);
> then $(./bin/hdfs dfs -copyToLocal test/test.txt ./test.txt);
> else $(./bin/hdfs dfs -copyToL
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。