Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-14663

HStore::close does not honor config hbase.rs.evictblocksonclose

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      I noticed moving regions was slow and due to the wait for the bucket cache to clear. I tried setting hbase.rs.evictblocksonclose and it did not help.

      I see the HStore::close method has evictonclose hard coded to true instead of letting the config dictate:

      // close each store file in parallel
      CompletionService<Void> completionService =
      new ExecutorCompletionService<Void>(storeFileCloserThreadPool);
      for (final StoreFile f : result) {
      completionService.submit(new Callable<Void>() {
      @Override
      public Void call() throws IOException

      { f.closeReader(true); return null; }

      });
      }

      Attachments

        1. HBASE-14663-v1.patch
          0.8 kB
          Vladimir Rodionov

        Issue Links

          Activity

            People

              vrodionov Vladimir Rodionov
              randy.fox Randy Fox
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: