hadoop集群搭建——4/4——开始使用hdfs
http://192.168.2.100:50070/explorer.html#/
为了能够顺利下载,修改windows的hosts文件:C:\Windows\System32\drivers\etc
ipconfig /flushdns #Win+R->cmd
使用/测试hdfs:
上传小文件:
[root@hadoop100 hadoop-2.7.2]# bin/hdfs dfs -put rep/a.txt /
上传大文件
[root@hadoop100 hadoop-2.7.2]# bin/hdfs dfs -put rep/hadoop-2.7.2.tar.gz /