Hadoop-伪分布式搭建

71 阅读1分钟

伪分布式就是单节点的

第一步:配置相关的文件

编辑hdfs-site.xml

[zhenghui@hadoop101 ~]$ cd /opt/module/hadoop-2.7.7/
[zhenghui@hadoop101 hadoop-2.7.7]$ 
[zhenghui@hadoop101 hadoop-2.7.7]$ vi etc/hadoop/hdfs-site.xml 
[zhenghui@hadoop101 hadoop-2.7.7]$ 

增加内容如下:

<configuration>