Skip to content

Instantly share code, notes, and snippets.

@sujee
Last active January 4, 2016 01:19
Show Gist options
  • Save sujee/8547538 to your computer and use it in GitHub Desktop.
Save sujee/8547538 to your computer and use it in GitHub Desktop.
hadoop2 core-site.xml
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
<property>
<name>fs.defaultFS</name>
<value>hdfs://localhost:8020</value>
<description>
this replaces Hadoop 1 property : fs.default.name
</description>
</property>
<property>
<!-- TODO : modify this to match your environment -->
<name>hadoop.tmp.dir</name>
<value>/Users/sujee/hadoop2-data</value>
<description>
This is the 'root' directory for Hadoop (HDFS & MapReduce)
</description>
</property>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment