官术网_书友最值得收藏!

Setting up the NameNode

Make the following changes to the configuration file etc/hadoop/core-site.xml:

<configuration>
    <property>
        <name>fs.defaultFS</name>
        <value>hdfs://localhost:9000</value>
    </property>
</configuration>

Make the following changes to the configuration file etc/hadoop/hdfs-site.xml:

<configuration>
    <property>
        <name>dfs.replication</name>
        <value>1</value>
    </property>
<name>dfs.name.dir</name>
<value><YOURDIRECTORY>/hadoop-3.1.0/dfs/name</value>
</property> </configuration>
主站蜘蛛池模板: 溧水县| 聊城市| 孟津县| 嘉黎县| 吴旗县| 沙洋县| 邯郸市| 云安县| 阿城市| 垣曲县| 化德县| 鹤庆县| 望江县| 治多县| 磴口县| 蒲城县| 临朐县| 峨眉山市| 民权县| 体育| 襄汾县| 太和县| 邵阳市| 瓮安县| 乐陵市| 巴塘县| 云霄县| 墨江| 都匀市| 淅川县| 绿春县| 迁安市| 迁西县| 绵竹市| 西乡县| 澄迈县| 乌什县| 乌拉特前旗| 双流县| 龙泉市| 疏勒县|