本文整理了Java中org.apache.hadoop.hbase.HBaseTestingUtility.checksumRows()
方法的一些代码示例,展示了HBaseTestingUtility.checksumRows()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。HBaseTestingUtility.checksumRows()
方法的具体详情如下:
包路径:org.apache.hadoop.hbase.HBaseTestingUtility
类名称:HBaseTestingUtility
方法名:checksumRows
[英]Return an md5 digest of the entire contents of a table.
[中]返回表的全部内容的md5摘要。
代码示例来源:origin: apache/hbase
String tableDigestBefore = util.checksumRows(currentTable);
util.waitTableAvailable(currentTableName);
assertEquals("Data should remain after reopening of regions",
tableDigestBefore, util.checksumRows(currentTable));
代码示例来源:origin: apache/hbase
final int count = util.countRows(t);
assertTrue("expected some rows", count > 0);
final String checksum = util.checksumRows(t);
assertEquals(checksum, util.checksumRows(t));
} catch (Throwable throwable) {
LOG.error("Test failed!", throwable);
代码示例来源:origin: com.aliyun.hbase/alihbase-mapreduce
String tableDigestBefore = util.checksumRows(currentTable);
util.waitTableAvailable(currentTableName);
assertEquals("Data should remain after reopening of regions",
tableDigestBefore, util.checksumRows(currentTable));
代码示例来源:origin: org.apache.hbase/hbase-mapreduce
String tableDigestBefore = util.checksumRows(currentTable);
util.waitTableAvailable(currentTableName);
assertEquals("Data should remain after reopening of regions",
tableDigestBefore, util.checksumRows(currentTable));
代码示例来源:origin: org.apache.hbase/hbase-mapreduce
String tableDigestBefore = util.checksumRows(currentTable);
util.waitTableAvailable(currentTableName);
assertEquals("Data should remain after reopening of regions",
tableDigestBefore, util.checksumRows(currentTable));
代码示例来源:origin: com.aliyun.hbase/alihbase-mapreduce
String tableDigestBefore = util.checksumRows(currentTable);
util.waitTableAvailable(currentTableName);
assertEquals("Data should remain after reopening of regions",
tableDigestBefore, util.checksumRows(currentTable));
代码示例来源:origin: org.apache.hbase/hbase-server
final int count = util.countRows(t);
assertTrue("expected some rows", count > 0);
final String checksum = util.checksumRows(t);
assertEquals(checksum, util.checksumRows(t));
} catch (Throwable throwable) {
LOG.error("Test failed!", throwable);
内容来源于网络,如有侵权,请联系作者删除!