Hadoop各种进程的配置文件及其位置说明

hdfs

DameNode
	core-site.xml
	    <!--设置主机的IP和端口-->
	    <property>
	        <name>fs.defaultFS</name>
	        <value>hdfs://cen-ubuntu:8020</value>
	    </property>
DataNode
	slaves
		cen-ubuntu
SecondaryNameNode
	hdfs-site.xml
		<property>
		    <name>dfs.namenode.secondary.https-address</name>
		    <value>cen-ubuntu:50091</value>
		</property>

YARN

Resourcemanager
	yarn-site.xml
		<!--配置nodemaneger服务-->
	    <property>
	        <name>yarn.nodemanager.aux-services</name>
	        <value>mapreduce_shuffle</value>
	    </property>
NodeManager
	slaves
		cen-ubuntu

MapReduce HistoryServer

jobHistory
	mapred-site.xml
		<property>
		    <name>mapreduce.jobhistory.address</name>
		    <value>0.0.0.0:10020</value>
		</property>

		<property>
		    <name>mapreduce.jobhistory.webapp.address</name>
		    <value>0.0.0.0:19888</value>
		</property>
posted @ 2017-06-20 08:02  岑忠满  阅读(1183)  评论(0编辑  收藏  举报