hadoop搭建四个配置文件(core-site.xml hdfs-site.xml mapred-site.xml yarn-site.xml )的简单介绍
2018-03-22 18:36
746 查看
一 、core-site.xml
2
3
4
5
6
7
8
9
10
11
12
13
14
15
二 、hdfs-site.xml
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
三、 mapred-site.xml
2
3
4
5
6
7
四、 yarn-site.xml
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
版权声明:本文为【Mr_LeeHY】原创文章,欢迎转载,共同学习,共同进步,转载请注明出处 【http://blog.csdn.net/mr_leehy】 https://blog.csdn.net/Mr_LeeHY/article/details/77049800
<configuration> <!--指定namenode的地址--> <property> <name>fs.defaultFS</name> <value>hdfs://master:9000</value> </property> <!--用来指定使用hadoop时产生文件的存放目录--> <property> <name>hadoop.tmp.dir</name> <value>file:///usr/hadoop/hadoop-2.6.0/tmp</value> </property> <!--用来设置检查点备份日志的最长时间--> <name>fs.checkpoint.period</name> <value>3600</value> </configuration>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
二 、hdfs-site.xml
<configuration> <!--指定hdfs保存数据的副本数量--> <property> <name>dfs.replication</name> <value>2</value> </property> <!--指定hdfs中namenode的存储位置--> <property> <name>dfs.namenode.name.dir</name> <value>file:/usr/hadoop/hadoop-2.6.0/tmp/dfs/name</value> </property> <!--指定hdfs中datanode的存储位置--> <property> <name>dfs.datanode.data.dir</name> <value>file:/usr/hadoop/hadoop-2.6.0/tmp/dfs/data</value> </property> </configuration>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
三、 mapred-site.xml
<configuration> <!--告诉hadoop以后MR(Map/Reduce)运行在YARN上--> <property> <name>mapreduce.framework.name</name> <value>yarn</value> </property> </configuration>1
2
3
4
5
6
7
四、 yarn-site.xml
<configuration> <!--nomenodeManager获取数据的方式是shuffle--> <property> <name>yarn.nodemanager.aux-services</name> <value>mapreduce_shuffle</value> </property> <!--指定Yarn的老大(ResourceManager)的地址--> <property> <name>yarn.resourcemanager.hostname</name> <value>master</value> </property> <!--Yarn打印工作日志--> <property> <name>yarn.log-aggregation-enable</name> <value>true</value> </property> <configuration>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
版权声明:本文为【Mr_LeeHY】原创文章,欢迎转载,共同学习,共同进步,转载请注明出处 【http://blog.csdn.net/mr_leehy】 https://blog.csdn.net/Mr_LeeHY/article/details/77049800
相关文章推荐
- hadoop搭建四个配置文件(core-site.xml hdfs-site.xml mapred-site.xml yarn-site.xml )的简单介绍
- HDFD 四个配置文件(core-site.xml hdfs-site.xml mapred-site.xml yarn-site.xml )的简单介绍
- hadoop配置文件core-site.xml、hdfs-site.xml,mapred-site.xml详解
- Hadoop小兵笔记【一】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三个配置文件的参数含义说明core-site.xml、hdfs-site.xml、mapred-site.xml
- hadoop配置文件: hdfs-site.xml, mapred-site.xml
- Hadoop笔记之core-site.xml && hdfs-site.xml&&mapred-site.xml分析&&hadoop等集群环境搭建梳理
- hadoop1.21配置+hdfs-site.xml+mapred-site.xml+Core-site.xml
- Hadoop 改了配置文件yarn-site.xml不生效,Container killed处理办法,vi出现 found a swap处理
- Hadoop配置文件参数整理(1)---core-site.xml
- Hadoop学习5_Hadoop:hdfs-site.xml,mapred-site.xml,core-site.xml 配置项清单
- Hadoop配置文件参数整理(2)---hdfs-site.xml
- 在运行hadoopdb\hive\hadoop源码时不能正确调用自定义core-site.xml等配置文件
- Hadoop配置文件参数整理(4)---yarn-site.xml
- Hadoop配置文件参数整理(3)---mapred-site.xml
- hadoop配置文件mapred-site.xml
- Hadoop配置: core-site.xml hdfs-site.xml mapred-site.xml
- 修改hadoop的core-site.xml的配置文件不需重启也生效了