Hadoop/Hbase 0.20.x and Zookeeper Cluster Installation Guide

October 18, 2009

1) Download Hadoop/Hbase/Zookeeper
2) Hadoop Configuration

core-site.xml

<configuration>
...
<property>
  <name>fs.default.name</name>
  <value>hdfs://udanax.org:9000/</value>
  <description>
    The name of the default file system. Either the literal string
    "local" or a host:port for HDFS.
  </description>
</property>
...
</configuration>

hdfs-site.xml
<configuration>
...
<property>
  <name>hadoop.tmp.dir</name>
  <value>/home/dfs</value>
  <description>A base for other temporary directories.</description>
</property>
<property>
  <name>dfs.replication</name>
  <value>3</value>
</property>
...
</configuration>
mapred-site.xml
<configuration>
...
<property>
  <name>mapred.job.tracker</name>
  <value>udanax.org:9001</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>
<property>
  <name>mapred.map.tasks</name>
  <value>15</value>
  <description>
    define mapred.map tasks to be number of slave hosts
  </description>
</property>
<property>
  <name>mapred.reduce.tasks</name>
  <value>15</value>
  <description>
    define mapred.reduce tasks to be number of slave hosts
  </description>
</property>
...
</configuration>
3) Hbase & Zookeeper Installation



0 comments:

Post a Comment

Your comment will be appear after approve by admin