1、表操作
添加表
create 'table_name','family'
删除表
disable 'table_name'
drop 'table_name'
添加column family
alter 'table_name', {NAME => 'cf_new'}
查看表结构
describe 'table_name'[......]
1、表操作
添加表
create 'table_name','family'
删除表
disable 'table_name'
drop 'table_name'
添加column family
alter 'table_name', {NAME => 'cf_new'}
查看表结构
describe 'table_name'[......]
与Hadoop一样,HBase也有三种运行模式:Standalone, Distributed, Pseudo-distributed。
其中,Pseudo-distributed称为伪集群模式,与Distributed基本一样,只不过进程都运行在一台机器上。
1、对HDFS配置伪集群模式。
2、配置HBase
hbase-site.xml
<?xml version="1.0"[......]
首先解释下标题,可能命名不是那么严谨吧,大致的定义如下:
sometimes you are in a situation where you want to read a record, check what is in it, and depending on that update the record. The problem is that between the time you read a row and perform the update, someone else m[......]
转载自:http://www.infoq.com/articles/LuceneHbase
Search plays a pivotal role in just about any modern application from shopping sites to social networks to points of interest. Lucene search library is today's de facto standard for implementing search[......]