美文网首页
hdfs-site.xml配置详解

hdfs-site.xml配置详解

作者: 冰冰大象 | 来源:发表于2018-01-06 10:31 被阅读1842次
<configuration>
<property>
        <name>dfs.replication</name>
        <value>2</value>
        <description>设置副本数</description>
</property>

<property>
   <name>dfs.namenode.name.dir</name>
   <value>file:///root/BigData/hadoop-3.0.0/hdfs/name</value>
   <description>设置存放NameNode的文件路径</description>
</property>

<property>
   <name>dfs.datanode.data.dir</name>
   <value>file:///root/BigData/hadoop-3.0.0/hdfs/data</value>
  <description>设置存放DataNode的文件路径</description>
</property>

<property>
    <name>dfs.permissions</name>
    <value>false</value>
    <description>权限还是不要的好</description>
</property>

<property>
    <name>dfs.secondary.http.address</name>
    <value>master:50070</value>
 <description>SNN路径</description>
</property>
  
</configuration>

相关文章

网友评论

      本文标题:hdfs-site.xml配置详解

      本文链接:https://www.haomeiwen.com/subject/hnwlnxtx.html