Skip to content

Instantly share code, notes, and snippets.

@miguno
Last active December 17, 2015 22:39
Show Gist options
  • Save miguno/5683927 to your computer and use it in GitHub Desktop.
Save miguno/5683927 to your computer and use it in GitHub Desktop.
Siddiqui Zeeshan
hduser@ubuntu1:/usr/local/hadoop/conf$ 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>hadoop.tmp.dir</name>
<value>/app/hadoop/tmp</value>
<description>A base for other temporary directories.</description>
</property>
<property>
<name>fs.default.name</name>
<value>hdfs://ubuntu1:9100</value>
<description>The name of the default file system. A URI whose
scheme and authority determine the FileSystem implementation. The
uri's scheme determines the config property (fs.SCHEME.impl) naming
the FileSystem implementation class. The uri's authority is used to
determine the host, port, etc. for a filesystem.</description>
</property>
</configuration>
hduser@ubuntu1:/usr/local/hadoop/conf$ cat mapred-site.xml
<property>
<name>mapred.job.tracker</name>
<value>ubuntu1:9101</value>
<description>The host and port that the MapReduce job tracker runs
at. If "local", then jobs are run in-process as a single map
and reduce task.
</description>
</property>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment