Changes between Version 5 and Version 6 of Hbase_Lab1


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

--

Legend:

Unmodified
Added
Removed
Modified
  • Hbase_Lab1

    v5 v6  
    9393
    9494== 安裝Hbase ==
     95=== 下載並解壓縮Hbase到/opt/ ===
     96=== 修改 /opt/hbase-0.90.6/conf/hbase-env.sh ===
     97{{{
     98#!text
     99export HBASE_MANAGES_ZK=false
     100export JAVA_HOME=/usr/lib/jvm/java-6-openjdk
     101export HBASE_HEAPSIZE=256
     102export HBASE_CLASSPATH=/opt/hadoop-1.0.3/conf
     103}}}
     104=== 修改 /opt/hbase-0.90.6/conf/hbase-site.xml ===
     105{{{
     106#!text
     107<configuration>
     108  <property>
     109    <name>hbase.rootdir</name>
     110    <value>hdfs://localhost:54310/hbase</value>
     111  </property>
     112  <property>
     113    <name>hbase.zookeeper.property.dataDir</name>
     114    <value>/var/zookeeper</value>
     115  </property>
     116  <property>
     117    <name>dfs.support.append</name>
     118    <value>true</value>
     119  </property>
     120 <property>
     121    <name>hbase.cluster.distributed</name>
     122    <value>true</value>
     123  </property>
     124 <property>
     125    <name>hbase.zookeeper.property.clientPort</name>
     126    <value>2181</value>
     127  </property>
     128</configuration>
     129}}}
     130=== 啟動 ===
     131{{{
     132~$ /opt/hbase-0.90.6/bin/start-hbase.sh
     133}}}
    95134
    96135== 完成 ==