【发布时间】:2015-01-08 07:54:05
【问题描述】:
我正在使用 put 在 hbase 中创建一行,如下所示:
Put put = new Put(Bytes.toBytes(rowKey));
put.add(Bytes.toBytes(columnFamily), Bytes.toBytes(qualifier), cellTimestamp, value);
这些 puts 被批处理,然后添加到 hbase 中:
table.setAutoFlushTo(true);
table.put(batch);
table.flushCommits();
这适用于新行。如果我随后尝试更新列值并指定新的 cellTimestamp,则数据不会更新。这可能吗? hbase 表是使用 VERSIONS => '1' 创建的。
提前致谢!
【问题讨论】: