Changes between Version 4 and Version 5 of Hbase_Lab1


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

--

Legend:

Unmodified
Added
Removed
Modified
  • Hbase_Lab1

    v4 v5  
    6767}}}
    6868== 安裝Zookeeper ==
     69=== 下載並解壓縮zookeeper到/opt/ ===
     70
     71=== 建立zookeeper運作時需要的目錄並複製預設設定檔 ===
     72{{{
     73~$ cd /opt/zookeeper-3.3.6/
     74~$ sudo mkdir /var/zookeeper
     75~$ sudo chown -R shunfa:shunfa /var/zookeeper
     76~$ sudo chown -R shunfa:shunfa /opt/zookeeper-3.3.6/
     77~$ cp conf/zoo_sample.cfg conf/zoo.cfg
     78}}}
     79=== 修改zoo.cfg ===
     80{{{
     81#!text
     82tickTime=2000
     83initLimit=10
     84syncLimit=5
     85dataDir=/var/zookeeper
     86clientPort=2181
     87}}}
     88
     89=== 啟動 ===
     90{{{
     91~$ /opt/zookeeper-3.3.6/bin/zkServer.sh start
     92}}}
    6993
    7094== 安裝Hbase ==