- Hadoop+Spark大數據巨量分析與機器學習整合開發實戰, 作者:林大貴 ,出版社:博碩 ,出版日期:2015/11/0
- hadoop fs -mkdir /user
- hadoop fs -mkdir /user/hduser
- hadoop fs -mkdir /user/hduser/test
- hadoop fs -ls
- hadoop fs -ls /
- hadoop fs -ls /user
- hadoop fs -ls /user/hduser
- hadoop fs -ls -R /
- hadoop fs -mkdir -p /dir1/dir2/dir3
- hadoop fs -ls -R
- hadoop fs -copyFromLocal /usr/local/hadoop/README.txt /user/hduser/test
- hadoop fs -copyFromLocal /usr/local/hadoop/README.txt /user/hduser/test/test1.txt
- hadoop fs -ls /user/hduser/test
- hadoop fs -cat /user/hduser/test/README.txt
- hadoop fs -cat /user/hduser/test/README.txt | more
- hadopp fs -put /usr/hduser/hadoop/README.txt /user/hduser/test/test2.txt
- mkdir test
- cd test
- hadoop fs -copyToLocal /user/hduser/test/test2.txt
- hadoop fs -get /user/hduser/test/test2.txt
- test> ls
- hadoop fs -rm /user/hduser/test/test2.txt
- http://master:50070