0
我想测试HBase中的数据恢复(独立模式),我该怎么做?恢复会在独立模式下工作吗?如何测试HBase中的恢复?
从shell中执行put命令后,关闭了我的虚拟机的HBase i开关,并重新启动了 ,它没有显示新添加的数据。即使我尝试从日食也没有显示。我如何在HBase中测试恢复?我能够看到Hfiles,但不是Hlog我需要为此设置任何路径吗?
这是我写的代码..
Put p=new Put(Bytes.toBytes("name10"));
p.setWriteAheadLog(true);
p.add(Bytes.toBytes("cf"), Bytes.toBytes("name"),Bytes.toBytes("Some Value 10"));
table.setAutoFlush(true);
table.put(p);
Thanx提前