Created
September 11, 2009 00:48
-
-
Save tomgullo/184974 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Hadoop --> | |
<!-- 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://localhost:9000</value> | |
</property> | |
</configuration> | |
<!-- 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>localhost:9001</value> | |
</property> | |
</configuration> | |
<!-- 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>hadoop.tmp.dir</name> | |
<value>/usr/local/hadoop/hadoop-datastore/hadoop-hadoop</value> | |
</property> | |
<property> | |
<name>dfs.replication</name> | |
<value>1</value> | |
</property> | |
</configuration> | |
<!-- hadoop-env.sh --> | |
# The java implementation to use. Required. | |
export JAVA_HOME=/usr/lib/jvm/java-6-sun | |
export HADOOP_OPTS=-Djava.net.preferIPv4Stack=true | |
# Extra Java CLASSPATH elements. Optional. | |
# export HADOOP_CLASSPATH= | |
# The maximum amount of heap to use, in MB. Default is 1000. | |
# export HADOOP_HEAPSIZE=2000 | |
# Extra Java runtime options. Empty by default. | |
# export HADOOP_OPTS=-server | |
# Command specific options appended to HADOOP_OPTS when specified | |
export HADOOP_NAMENODE_OPTS="-Dcom.sun.management.jmxremote $HADOOP_NAMENODE_OPTS" | |
export HADOOP_SECONDARYNAMENODE_OPTS="-Dcom.sun.management.jmxremote $HADOOP_SECONDARYNAMENODE_OPTS" | |
export HADOOP_DATANODE_OPTS="-Dcom.sun.management.jmxremote $HADOOP_DATANODE_OPTS" | |
export HADOOP_BALANCER_OPTS="-Dcom.sun.management.jmxremote $HADOOP_BALANCER_OPTS" | |
export HADOOP_JOBTRACKER_OPTS="-Dcom.sun.management.jmxremote $HADOOP_JOBTRACKER_OPTS" | |
//slaves, masters -> localhost | |
//etc/hosts | |
127.0.0.1 localhost | |
ip master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment