org.apache.hadoop.hbase.HBaseTestingUtility.checksumRows()方法的使用及代码示例

x33g5p2x  于2022-01-20 转载在 其他  
字(2.3k)|赞(0)|评价(0)|浏览(134)

本文整理了Java中org.apache.hadoop.hbase.HBaseTestingUtility.checksumRows()方法的一些代码示例,展示了HBaseTestingUtility.checksumRows()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。HBaseTestingUtility.checksumRows()方法的具体详情如下:
包路径:org.apache.hadoop.hbase.HBaseTestingUtility
类名称:HBaseTestingUtility
方法名:checksumRows

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);

相关文章

HBaseTestingUtility类方法