Sunday, September 8, 2013

HBase install and performance test

  1. download hbase.
    [hadoopuser@cent63VM01 app]$ wget http://apache.osuosl.org/hbase/stable/hbase-0.94.2.tar.gz
    
  2. untar the file
    [hadoopuser@cent63VM01 app]$ tar xvf hbase-0.94.2.tar.gz
    
  3. create a soft link for HBase.
    [hadoopuser@cent63VM01 app]$ ln -s /hadoop/hbase-0.94.2/ /hbase
    
  4. copy sample configuration file.
    [hadoopuser@cent63VM01 app]$ cp /hbase/sr/resources/hbase-default.xml /hbase/conf/hbase-site.xml
    
  5. Edit hbase-site.xml as below.
    sfds
    
  6. copy configuration files to all nodes..
    sfdsrsync -avz ./hbase-0.94.2 hadoopuser@cent63V4.corp.ybusa.net:/hadoop/
    
  7. Zookeeper's port numbers are troublesome. To be simple, I disable the firewall.
    service iptables status
    service save iptables
    service stop iptables
    chkconfig iptables off
    

system-config-firewall open HBase REST port 8080; open port 60000 and 60010 for master. for eegional server open port 60020 and port 60030; for zookeeper, open port 2888, 3888, 2181

check file /etc/hosts


rm -Rf /tmp/hadoop-username  clean data fo

service iptables status
service save iptables
service stop iptables
chkconfig iptables off

HBase performance testing wity ycsb 0.1.4 http://johnjianfang.blogspot.com/2012/09/hbase-performance-testing-wity-ycsb-014.html

Hbase 错误记录及修改方法
http://blog.csdn.net/kntao/article/details/7642547

yum install java-1.6.0-openjdk java-1.6.0-openjdk-devel

No comments:

Post a Comment