To compile this example, you will need to modify the following
variables in the Makefile:
BOOST_INCLUDE_DIR=/usr/local/include/boost-1_34_1
BOOST_THREAD_LIB=boost_thread-gcc41-mt
HYPERTABLE_INSTALL_DIR=/home/doug/hypertable/0.9.0.8
They should be modified to reflect your particular Boost
installation and Hypertable installation.
You can then build the example by just typing 'make'
The servers can be started with the following command
(assuming Hypertable is installed in ~/hypertable):
$ ~/hypertable/bin/start-all-servers.sh local
The next step is to create the 'ApacheWebServer' table
with the following command:
$ ~/hypertable/bin/hypertable --batch < WebServerLog-create-table.hql
There is a compressed sample Apache web log in the file
'access.log.gz' Uncompress it with:
$ gunzip access.log.gz
You can load it into the table with the following command:
$ ./apache_log_load access.log
You can then query it with a something like the following:
$ ./apache_log_query /favicon.ico
#####create-table
create table LogDb (
ClientIpAddress,
UserId,
Request,
ResponseCode,
ObjectSize,
Referer,
UserAgent
);
######################
1. copy -r /opt/hypertable/0.9.2.3/conf /root/hypertable_build/examples/apache_log/
2. cd /opt/hypertable/0.9.2.3/examples/apache_log
3. /opt/hypertable/0.9.2.3/bin/hypertable --batch < create-table.hql
4. ./apache_log_load gggg_transfer.log
分享到:
相关推荐
hypertable的相关文档,可以下下来看看,获取对于你有些帮助哟。
Hypertable is a massively scalable database modeled after Google's Bigtable database. Bigtable is part of a group of scalable computing technologies developed by Google which is depicted in the ...
开源分布式数据储存系统hypertable V0.9.5.6源代码
Hypertable 是一个正在进行中的开源项目,其特点是支持海量数据并发存储,是基于google bigTable 论文基础。目前是大数据处理中的尖兵利器。
hypertable 是基于bigtable的数据库 谷歌,百度,ebay都用它做大数据处理
基于Hypertable数据库XML存储和查询技术研究
Hypertable与hadoop介绍 文档 看完就入门
Hypertable 是一个正在进行中的开源项目,以google的bigtable论文为基础指导,使用c++语言实现。目的是为了解决大并发,大数据量的数据库需求。目前 只支持最基本的查询功能,对于事物,关联查询等都不支持。对单条...
#资源达人分享计划#
精心准备的HyperTable安装部署文档,绝对无误,有兴趣者可与我站内联系
hypertable 开源分布式数据储存系统 V0.9.5.6 源代码
Hypertable 是一个正在进行中的开源项目,以google的bigtable论文为基础指导,使用c++语言实现。目的是为了解决大并发,大数据量的数据库需求。目前 只支持最基本的查询功能,对于事物,关联查询等都不支持。对单条...
0.9.6.5版本的hypertable.jar,0.9.6.5版本的hypertable.jar。
分布式海量数据管理系统Hypertable 底层存储结构分析
在一文中,作者主要从Hypertable的系统层面介绍了如何改进和优化系统来更好地支持业务。本文则主要从业务层面介绍如何基于BigTable模型设计表格及导入/查询策略。NoSQL和SQL数据库谁更重要的争论从来都没停止,甚至...
随着互联网技术的发展,尤其是云计算平台的出现,分布式应用程序需要处理大量...HDFS、KFS等,在此基础上,Hypertable实现了分布式结构化的数据组织,Hypertable可以对海量的结构化的数据(PB级)提供面向表形式的组织方