Hadoop集群安装 (3) 配置conf/hdfs-site.xml
2012-01-09 16:50
471 查看
1. 配置NameNode和DataNode的目录 ()
说明:配置dfs.name.dir 和 dfs.data.dir
2. 配置副本度
3. 设置块大小
说明:配置dfs.name.dir 和 dfs.data.dir
<property> <name>dfs.namenode.name.dir</name> <value>file://${hadoop.tmp.dir}/dfs/name</value> <description>Determines where on the local filesystem the DFS name node should store the name table(fsimage). If this is a comma-delimited list of directories then the name table is replicated in all of the directories, for redundancy. </description> </property> <property> <name>dfs.datanode.data.dir</name> <value>file://${hadoop.tmp.dir}/dfs/data</value> <description>Determines where on the local filesystem an DFS data node should store its blocks. If this is a comma-delimited list of directories, then data will be stored in all named directories, typically on different devices. Directories that do not exist are ignored. </description> </property>
2. 配置副本度
<property> <name>dfs.replication</name> <value>2</value> </property>
3. 设置块大小
<property> <name>dfs.block.size</name> <value>134217728</value> </property> 64M: 67108864 32M: 33554432 16M: 16777216 8M: 8388608 4M: 4194304
相关文章推荐
- Hadoop集群安装 (4) 配置JobTracker_conf/mapred-site.xml
- Hadoop集群安装 (2) 配置conf/core-site.xml
- Hadoop集群安装 (5) 配置job queue_conf/mapred-queues.xml
- Hadoop小兵笔记【一】Hadoop安装过程中core-site.xml,hdfs-site.xml,mapred-site.xml配置文件详解
- Hadoop的hdfs-site.xml配置描述
- hadoop 2.2.X 配置参数说明:hdfs-site.xml
- Hadoop配置文件参数整理(2)---hdfs-site.xml
- 在集群上安装Hadoop1.2.1,并配置好,启动hdfs后使用jps查看datanode,启动后过一会再看就消失了
- hadoop搭建四个配置文件(core-site.xml hdfs-site.xml mapred-site.xml yarn-site.xml )的简单介绍
- hadoop配置 - Hadoop1.x hdfs-site.xml 参数设定
- hadoop1.21配置+hdfs-site.xml+mapred-site.xml+Core-site.xml
- hadoop三个配置文件的参数含义说明core-site.xml、hdfs-site.xml、mapred-site.xml
- hadoop搭建四个配置文件(core-site.xml hdfs-site.xml mapred-site.xml yarn-site.xml )的简单介绍
- 【总结】Hadoop配置文件hdfs-site.xml
- hadoop配置文件hdfs-site.xml
- hadoop三个配置文件的参数含义说明core-site.xml、hdfs-site.xml、mapred-site.xml
- hadoop配置文件core-site.xml、hdfs-site.xml,mapred-site.xml详解
- hadoop三个配置文件的参数含义说明core-site.xml,hdfs-site.xml,mapred-site.xml
- hadoop hdfs-site.xml的配置
- 高可用,完全分布式Hadoop集群HDFS和MapReduce安装配置指南