Tag Archives: Hbase

HBase伪集群配置

与Hadoop一样,HBase也有三种运行模式:Standalone, Distributed, Pseudo-distributed。

其中,Pseudo-distributed称为伪集群模式,与Distributed基本一样,只不过进程都运行在一台机器上。

1、对HDFS配置伪集群模式。

见:Hadoop伪集群测试 与 Hadoop集群配置详细版

2、配置HBase

hbase-site.xml
<?xml version="1.0"[......]

继续阅读

HBase、Redis中关于“长事务”(Long Transaction)的一点讨论

首先解释下标题,可能命名不是那么严谨吧,大致的定义如下:

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[......]

继续阅读