Changes between Version 1 and Version 2 of waue/2012/0120
- Timestamp:
- Jan 20, 2012, 2:39:42 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
waue/2012/0120
v1 v2 1 1 2 2 3 = 環境 = 3 4 5 * hadoop => /opt/hadoop-1.0.0 6 * workspace => /var/hadoop/hadoop100 7 * hbase => /opt/hbase-0.90.5 8 * workspace => /var/hadoop/hbase0905 4 9 5 10 = hadoop 1.0.0 single node = 6 11 12 * conf/hadoop-env.sh 13 {{{ 14 #!text 15 export 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 }}} 7 54 8 55 = hbase 0.90.5 single node = 56 57 * conf/hbase-env.sh 58 {{{ 59 #!text 60 export 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 {{{ 75 bin/start-hbase.sh 76 }}} 77