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

SpaceQuotas- Hbase:meta is too busy when space quotas are turned on.

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0-alpha-1
    • None
    • None
    • None

    Description

      In a large cluster, there are many tables and regions. META tables will be scanned frequently after opening space quota. We need optimize it to support larger cluster.

      some code...

      for (TableName table : Iterables.concat(tablesWithTableQuotas, 
                tablesWithNamespaceQuotas)) {
              // Don't recompute a table we've already computed
              if (tablesToRemove.contains(table)) {
                continue;
              }
              final int numRegionsInTable = getNumRegions(table);
              // If the table doesn't exist (no regions), bail out.
              if (numRegionsInTable == 0) {
                if (LOG.isTraceEnabled()) {
                  LOG.trace("Filtering " + table + " because no regions were reported");
                }
                tablesToRemove.add(table);
                continue;
              }
          ....
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            sakthi Sakthi
            yiran YR

            Dates

              Created:
              Updated:

              Slack

                Issue deployment