Skip to content

Instantly share code, notes, and snippets.

@jahentao
Last active June 6, 2017 04:33
Show Gist options
  • Save jahentao/06a65b011c9cc9a657e21d443ece06dc to your computer and use it in GitHub Desktop.
Save jahentao/06a65b011c9cc9a657e21d443ece06dc to your computer and use it in GitHub Desktop.
Hadoop伪分布式配置文件
<?xml version="1.0" ?>
<configuration>
<property>
<name>fs.defaultFS</name>
<value>hdfs://localhost/</value>
</property>
</configuration>
<?xml version="1.0"?>
<configuration>
<property>
<name>dfs.replication</name>
<value>1</value>
</property>
</configuration>
<?xml version="1.0"?>
<configuration>
<property>
<name>mapreduce.framework.name</name>
<value>yarn</value>
</property>
</configuration>
<?xml version="1.0"?>
<configuration>
<property>
<name>yarn.resourcemanager.hostname</name>
<value>localhost</value>
</property>
<property>
<name>yarn.nodemanager.aux-services</name>
<value>mapreduce_shuffle</value>
</property>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment