Changes between Version 1 and Version 2 of waue/2012/0120


Ignore:
Timestamp:
Jan 20, 2012, 2:39:42 PM (12 years ago)
Author:
waue
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • waue/2012/0120

    v1 v2  
    11
    22
     3 = 環境 =
    34
     5 *  hadoop => /opt/hadoop-1.0.0   
     6   *  workspace => /var/hadoop/hadoop100
     7 *  hbase => /opt/hbase-0.90.5
     8   *  workspace => /var/hadoop/hbase0905
    49
    510 = hadoop 1.0.0 single node =
    611
     12 * conf/hadoop-env.sh
     13{{{
     14#!text
     15export JAVA_HOME=/usr/lib/jvm/java-6-sun
     16}}}
     17
     18 * conf/core-site.xml:
     19{{{
     20#!xml
     21<configuration>
     22     <property>
     23         <name>fs.default.name</name>
     24         <value>hdfs://localhost:9000</value>
     25     </property>
     26     <property>
     27         <name>hadoop.tmp.dir</name>
     28         <value>/var/hadoop/hadoop100</value>
     29     </property>
     30</configuration>
     31}}}
     32
     33 * conf/mapred-site.xml:
     34{{{
     35#!xml
     36<configuration>
     37     <property>
     38         <name>mapred.job.tracker</name>
     39         <value>localhost:9001</value>
     40     </property>
     41</configuration>
     42}}}
     43
     44 * conf/hdfs-site.xml:
     45{{{
     46#!xml
     47<configuration>
     48     <property>
     49         <name>dfs.replication</name>
     50         <value>1</value>
     51     </property>
     52</configuration>
     53}}}
    754
    855 = hbase 0.90.5 single node =
     56
     57 * conf/hbase-env.sh
     58{{{
     59#!text
     60export JAVA_HOME=/usr/lib/jvm/java-6-sun
     61}}}
     62
     63 * conf/hbase-site.xml
     64{{{
     65#!xml
     66<configuration>
     67  <property>
     68    <name>hbase.rootdir</name>
     69    <value>file:///var/hadoop/hbase0905</value>
     70  </property>
     71</configuration>
     72}}}
     73
     74{{{
     75bin/start-hbase.sh
     76}}}
     77