Skip to content

Instantly share code, notes, and snippets.

@samarthbhargav
Last active August 29, 2015 14:07
Show Gist options
  • Save samarthbhargav/7f4d39e274c0d31c31df to your computer and use it in GitHub Desktop.
Save samarthbhargav/7f4d39e274c0d31c31df to your computer and use it in GitHub Desktop.
Conf for Hadoop
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
<property>
<name>dfs.datanode.data.dir</name>
<value>/usr/local/hadoop/hdfs/data/</value>
<description>Comma separated list of paths on the local filesystem of a DataNode where it should store its blocks.</description>
</property>
<property>
<name>dfs.namenode.name.dir</name>
<value>/usr/local/hadoop/hdfs/namenode/</value>
<description>Path on the local filesystem where the NameNode stores the namespace and transaction logs persistently.</description>
</property>
<property>
<name>dfs.replication</name>
<value>1</value>
</property>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment