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

Consider closing StoreFiles sometimes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None

    Description

      Having a lot of regions per region server could be considered harmless if most of them aren't used, but that's not really true at the moment. We keep all files opened all the time (except for rolled HLogs). I'm thinking of 2 solutions

      1. Lazy open the store files, or at least close them down after we read the file info. Or we could do this for every file except the most recent one.
      2. Close files when they're not in use. We need some heuristic to determine when is the best moment to declare that a file can be closed.

      Both solutions go hand in hand, and I think it would be a huge gain in order to lower the ulimit and xceivers-related issues.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jdcryans Jean-Daniel Cryans
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: