Hypertable 的安装与整合KFS
原创文章:转载请注明出处 http://wangwei3.iteye.com/admin/blogs/909096
安装Hypertable
下载安装包(http://www.hypertable.com/download/) hypertable-0.9.4.3-linux-i386.deb 55MB Debian, Complete hypertable-0.9.4.3-linux-i386.rpm 59MB Redhat, Complete hypertable-0.9.4.3-linux-i386.tar.bz2 53MB bzip2 "tar" archive, Complete hypertable-thriftbroker-0.9.4.3-linux-i386.deb 30MB Debian, Thrift broker only hypertable-thriftbroker-0.9.4.3-linux-i386.rpm 29MB Redhat, Thrift broker only hypertable-thriftbroker-0.9.4.3-linux-i386.tar.bz2 28MB bzip2 "tar" archive, Thrift broker only 下载安装包的时候要根据自己的系统来选择是32位的还是64位的
Debian installation dpkg --install .deb RPM installation rpm -i .rpm Bzipped archive installation tar jxvf .tar.bz2
然后再opt下面就可以看到hypertable了
整合KFS 修改conf/hypertable.cfg文件,加入以下内容: #kfs meta server Kfs.MetaServer.Name=192.168.1.188 Kfs.MetaServer.Port=20000 Kfs.Broker.Workers=20 启动kfs的metaserver chunkserver 启动Hypertable ./bin/start-all-servers.sh kfs 关闭Hypertable ./bin/stop-servers.sh
如果启动hypertable 有问题 1.ssh不通 2.hostname或者hosts配置域名绑定有问题 3.已有过配置启动的需要删除一下文件夹下的内容 hypertable下删除 /opt/hypertable/0.9.4.3/run /opt/hypertable/0.9.4.3/hyperspace /opt/hypertable/0.9.4.3/fs
KFS下删除 /mnt/kfs/meta/bin/kfscp /mnt/kfs/meta/bin/kfslog 重启kfs和hypertable
进入hypertable shell bin/ht shell