Hadoop Configurations (Properties)

云计算 waitig 77℃ 百度已收录 0评论


Hadoop运行的三种模式:

Standalone (or local) mode

Pseudodistributed mode

Fully distributed mode


模式的配置文件在 hadoop-2.8.1/etc/hadoop 目录:

core-site.xml for common properties

hdfs-site.xml for HDFS properties

mapred-site.xml for MapReduce properties

yarn-site.xml for YARN properties


这些配置文件负责的全部属性的默认设置文件,在 hadoop-2.8.1/share/doc/hadoop 目录:

hadoop-project-dist/hadoop-common/core-default.xml

hadoop-project-dist/hadoop-hdfs/hdfs-default.xml

hadoop-mapreduce-client/hadoop-mapreduce-client-core/mapred-default.xml

hadoop-yarn/hadoop-yarn-common/yarn-default.xml


要让Hadoop运行在某个特定的模式,需要两件事情:

1. set the appropriate properties

2. start the Hadoop daemons


下面图片,是配置成每种模式时的 最小属性集 (the minimal set of properties):



跟多的配置信息:






本文由【waitig】发表在等英博客
本文固定链接:Hadoop Configurations (Properties)
欢迎关注本站官方公众号,每日都有干货分享!
等英博客官方公众号
点赞 (0)分享 (0)