Skip to content

Instantly share code, notes, and snippets.

@neilkod
Created October 17, 2010 20:15
Show Gist options
  • Save neilkod/631231 to your computer and use it in GitHub Desktop.
Save neilkod/631231 to your computer and use it in GitHub Desktop.
my core-site.xml hdfs-site.xml mapred-site.xml
miniserver:conf nkodner$ cat core-site.xml
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!-- Put site-specific property overrides in this file. -->
<configuration>
<property>
<name>fs.default.name</name>
<value>hdfs://hadoop1.local:9000</value>
</property>
</configuration>
miniserver:conf nkodner$ cat mapred-site.xml
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!-- Put site-specific property overrides in this file. -->
<configuration>
<property>
<name>mapred.job.tracker</name>
<value>hadoop1.local:9001</value>
</property>
</configuration>
miniserver:conf nkodner$ cat hdfs-site.xml
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!-- Put site-specific property overrides in this file. -->
<configuration>
<property>
<name>dfs.name.dir</name>
<value>/hdfs2/name</value>
</property>
<property>
<name>dfs.data.dir</name>
<value>/hdfs2/data</value>
</property>
<property>
<name>dfs.replication</name>
<value>1</value>
</property>
</configuration>
miniserver:conf nkodner$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment