博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
yarn-site.xml的配置内容
阅读量:5119 次
发布时间:2019-06-13

本文共 5303 字,大约阅读时间需要 17 分钟。

yarn.resourcemanager.ha.enabled
true
yarn.resourcemanager.cluster-id
zz
yarn.resourcemanager.ha.rm-ids
rm1,rm2
yarn.resourcemanager.hostname.rm1
host1
yarn.resourcemanager.hostname.rm2
host2
yarn.resourcemanager.webapp.address.rm1
host1:8088
yarn.resourcemanager.webapp.address.rm2
host2:8088
ha.zookeeper.quorum
host1:2181,host2:2181,host3:2181
yarn.resourcemanager.zk-state-store.address
host1:2181,host2:2181,host3:2181
yarn.resourcemanager.store.class
org.apache.hadoop.yarn.server.resourcemanager.recovery.ZKRMStateStore
yarn.resourcemanager.zk-address
host1:2181,host2:2181,host3:2181
yarn.resourcemanager.ha.automatic-failover.enabled
true
yarn.resourcemanager.connect.retry-interval.ms
2000
yarn.resourcemanager.recovery.enabled
true
yarn.app.mapreduce.am.scheduler.connection.wait.interval-ms
5000
yarn.client.failover-proxy-provider
org.apache.hadoop.yarn.client.ConfiguredRMFailoverProxyProvider
yarn.resourcemanager.ha.automatic-failover.zk-base-path
/yarn-leader-election
yarn.nodemanager.aux-services
mapreduce_shuffle,spark_shuffle
yarn.nodemanager.aux-services.mapreduce.shuffle.class
org.apache.hadoop.mapred.ShuffleHandler
yarn.nodemanager.aux-services.spark_shuffle.class
org.apache.spark.network.yarn.YarnShuffleService
spark.shuffle.service.port
7337
yarn.nodemanager.local-dirs
/home/cloudz/install/hadoop-2.9.0/tmp
yarn.nodemanager.log-dirs
/home/cloudz/install/hadoop-2.9.0/logs
yarn.scheduler.minimum-allocation-mb
512
yarn.scheduler.maximum-allocation-mb
4096
yarn.nodemanager.resource.memory-mb
16384
yarn.nodemanager.vmem-pmem-ratio
4.2
允许的虚拟内存倍数
yarn.nodemanager.resource.cpu-vcores
8
mapreduce.map.output.compress
true
mapreduce.map.output.compress.codec
org.apache.hadoop.io.compress.SnappyCodec
mapreduce.output.fileoutputformat.compress
true
mapreduce.output.fileoutputformat.compress.codec
org.apache.hadoop.io.compress.SnappyCodec
数据的压缩类型,这里使用Snappy压缩
mapreduce.output.fileoutputformat.compress.type
BLOCK
数据的压缩级别,这里设置按数据块压缩
yarn.log-aggregation-enable
true
开启application 日志聚合功能
yarn.log-aggregation.retain-seconds
259200
设置聚合日志保存时间3天
yarn.log-aggregation.retain-check-interval-seconds
86400
清理过期聚合日志程序的执行间隔时间
yarn.nodemanager.remote-app-log-dir
/tmp/logs
聚合日志在hdfs上的目录
yarn.log.server.url
http://host1.bjcq.zybang.com:19888/jobhistory/logs
历史日志对应路径
yarn.resourcemanager.scheduler.class
org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler
配置yarn启用容量调度模式(默认即是容量调度),配置文件为capacity-scheduler.xml

 

转载于:https://www.cnblogs.com/cloud-zhao/p/8182307.html

你可能感兴趣的文章
jcom2在win7 X86上操作Excel
查看>>
列表及表格
查看>>
1.链表和数组的区别在哪里?
查看>>
Dubbo与Zookeeper、SpringMVC整合和使用
查看>>
bootstrapTble 的一些小结
查看>>
Eclipse 安装反编译插件jadclipse
查看>>
Linux系统中五款好用的日志分析工具
查看>>
(一)MySQL基础篇
查看>>
C#中Socket通信编程的同步实现(转载)
查看>>
brew uninstall older mysql and install mariadb
查看>>
/etc/security/limits.conf 配置
查看>>
基础算法:插入排序
查看>>
StringTokenizer用法
查看>>
正则化以及优化
查看>>
[Tomcat 部署问题] Undeployment Failure could not be redeployed ...
查看>>
转:Tomcat 7.0配置SSL的问题及解决办法
查看>>
PHP的单引号与双引号的区别
查看>>
BZOJ3571: [Hnoi2014]画框
查看>>
python爬虫之requests+selenium+BeautifulSoup
查看>>
【Docker系列教程之六】Docker的前世今生
查看>>