Changes between Version 3 and Version 4 of Hbase_Lab1


Ignore:
Timestamp:
Dec 3, 2012, 3:40:43 PM (12 years ago)
Author:
shunfa
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Hbase_Lab1

    v3 v4  
    1818
    1919=== 修改$HAHOOP_HOME/conf/hadoop-env.sh ===
     20 * 設定JAVA_HOME
     21{{{
     22#!text
     23export JAVA_HOME=/usr/lib/jvm/java-6-openjdk
     24}}}
    2025=== 修改$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}}}
    2135=== 修改$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}}}
    2245=== 修改$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}}}
    2360=== 格式化HDFS ===
     61{{{
     62shunfa@shunfa-vmmVBox:/opt/hadoop-1.0.3$ bin/hadoop namenode -format
     63}}}
    2464=== 啟動Hadoop ===
    25 
     65{{{
     66shunfa@shunfa-vmmVBox:/opt/hadoop-1.0.3$ bin/start-all.sh
     67}}}
    2668== 安裝Zookeeper ==
    2769