Changes between Version 3 and Version 4 of Hbase_Lab1
- Timestamp:
- Dec 3, 2012, 3:40:43 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Hbase_Lab1
v3 v4 18 18 19 19 === 修改$HAHOOP_HOME/conf/hadoop-env.sh === 20 * 設定JAVA_HOME 21 {{{ 22 #!text 23 export JAVA_HOME=/usr/lib/jvm/java-6-openjdk 24 }}} 20 25 === 修改$HAHOOP_HOME/conf/core-site.xml === 26 {{{ 27 #!text 28 <configuration> 29 <property> 30 <name>fs.default.name</name> 31 <value>hdfs://localhost:9000</value> 32 </property> 33 </configuration> 34 }}} 21 35 === 修改$HAHOOP_HOME/conf/mapred-site.xml === 36 {{{ 37 #!text 38 <configuration> 39 <property> 40 <name>mapred.job.tracker</name> 41 <value>localhost:9001</value> 42 </property> 43 </configuration> 44 }}} 22 45 === 修改$HAHOOP_HOME/conf/hdfs-site.xml === 46 {{{ 47 #!text 48 <configuration> 49 <property> 50 <name>dfs.replication</name> 51 <value>1</value> 52 </property> 53 <property> 54 <name>dfs.support.append</name> 55 <value>true</value> 56 </property> 57 </configuration> 58 59 }}} 23 60 === 格式化HDFS === 61 {{{ 62 shunfa@shunfa-vmmVBox:/opt/hadoop-1.0.3$ bin/hadoop namenode -format 63 }}} 24 64 === 啟動Hadoop === 25 65 {{{ 66 shunfa@shunfa-vmmVBox:/opt/hadoop-1.0.3$ bin/start-all.sh 67 }}} 26 68 == 安裝Zookeeper == 27 69