org.apache.hadoop.hbase.regionserver.Store.bulkLoadHFile()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(1.1k)|赞(0)|评价(0)|浏览(188)

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

Store.bulkLoadHFile介绍

[英]This method should only be called from HRegion. It is assumed that the ranges of values in the HFile fit within the stores assigned region. (assertBulkLoadHFileOk checks this)
[中]只能从HRegion调用此方法。假设HFile中的值范围适合指定的存储区域。(assertBulkLoadHFileOk检查此项)

代码示例

代码示例来源:origin: co.cask.hbase/hbase

finalPath = bulkLoadListener.prepareBulkLoad(familyName, path);
store.bulkLoadHFile(finalPath);
if(bulkLoadListener != null) {
 bulkLoadListener.doneBulkLoad(familyName, path);

代码示例来源:origin: harbby/presto-connectors

finalPath = bulkLoadListener.prepareBulkLoad(familyName, path);
Path commitedStoreFile = store.bulkLoadHFile(finalPath, seqId);

代码示例来源:origin: harbby/presto-connectors

try {
 storeFileInfo = fs.getStoreFileInfo(Bytes.toString(family), storeFile);
 store.bulkLoadHFile(storeFileInfo);
} catch(FileNotFoundException ex) {
 LOG.warn(getRegionInfo().getEncodedName() + " : "

相关文章