hadoop yarn 历史服务器 jobhistory的启动

hadoop开始jobhistory服务器运行命令

sbin/mr-jobhistory-daemon.sh start historyserver 

相关配置项在文件mapred-site.xml中配置,包括如下

mapreduce.jobhistory.address jobhistory内部路径

mapreduce.jobhistory.webapp.address jobhistory网页路径

如果在历史服务器中需要查看日志信息,需要在yarn-site.xml中进行配置,如下

yarn.log-aggregation-enable yarn日志聚合

yarn.log-aggregation.retain-seconds 日志聚合保留时间

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章