Hadoop中standalone模式环境搭建配置

core-site.xml

	<property>
		<name>fs.defaultFS</name>
		<value>hdfs://localhost/</value>
	</property>
	<!--临时文件目录-->
  <property>
    <name>hadoop.tmp.dir</name>
    <value>/Users/ruanzhiming/cloudera/app/tmp</value>
  </property>

hdfs-site.xml

<property>
	<name>dfs.replication</name>
	<value>1</value>
</property>

mapred-site.xml

<property>
	<name>mapreduce.framework.name</name>
	<value>yarn</value>
</property>

yarn-site.xml

	<property>
		<name>yarn.nodemanager.aux-services</name>
		<value>mapreduce_shuffle</value>
	</property>
	<!--yarn日志收集可在WebUI中查看-->
  <property>
    <name>yarn.log-aggregation-enable</name>
    <value>true</value>
  </property>
上一篇:flink部署操作-flink standalone集群安装部署


下一篇:java-仅将小写字母减为小写字母