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

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

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

HStore.moveFileIntoPlace介绍

暂无

代码示例

代码示例来源:origin: apache/hbase

  1. private List<HStoreFile> moveCompactedFilesIntoPlace(CompactionRequestImpl cr, List<Path> newFiles,
  2. User user) throws IOException {
  3. List<HStoreFile> sfs = new ArrayList<>(newFiles.size());
  4. for (Path newFile : newFiles) {
  5. assert newFile != null;
  6. HStoreFile sf = moveFileIntoPlace(newFile);
  7. if (this.getCoprocessorHost() != null) {
  8. getCoprocessorHost().postCompact(this, sf, cr.getTracker(), cr, user);
  9. }
  10. assert sf != null;
  11. sfs.add(sf);
  12. }
  13. return sfs;
  14. }

代码示例来源:origin: apache/hbase

  1. for (Path newFile: newFiles) {
  2. HStoreFile sf = moveFileIntoPlace(newFile);
  3. if (this.getCoprocessorHost() != null) {
  4. this.getCoprocessorHost().postCompact(this, sf, null, null, null);

代码示例来源:origin: apache/hbase

  1. ((HStore)store).moveFileIntoPlace(origPath);
  2. } catch (Exception e) {

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

  1. for (Path newFile : newFiles) {
  2. assert newFile != null;
  3. final StoreFile sf = moveFileIntoPlace(newFile);
  4. if (this.getCoprocessorHost() != null) {
  5. final Store thisStore = this;

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

  1. for (Path newFile: newFiles) {
  2. StoreFile sf = moveFileIntoPlace(newFile);
  3. if (this.getCoprocessorHost() != null) {
  4. this.getCoprocessorHost().postCompact(this, sf, null);

代码示例来源:origin: org.apache.hbase/hbase-server

  1. ((HStore)store).moveFileIntoPlace(origPath);
  2. } catch (Exception e) {

相关文章

HStore类方法