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

System tables hbase:quota|hbase:acl will be in offline state when cluster startup first time with rsgroup feature

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Implemented
    • 2.0.0-alpha-4
    • None
    • rsgroup
    • None

    Description

      When cluster start up first time with rsgroup feature, system tables hbase:quota and hbase:acl will be in OFFLINE state:

      hbase:quota,,1511254877213.0627adae8630c21f4456984713cdffc8. state=OFFLINE, ts=Tue Nov 21 17:03:37 CST 2017 (0s ago), server=localhost,1,1
      

      It seems that the balancer doesn't know which server to assign the regions,since that rsgroup information of the two system tables found to be null.

      I read the code and found a issue in rsgroup startup procedure : the rsgroup starts up before the creating of the two system tables(hbase:quota, hbase:acl), so rsgroupStartupWorker only adds hbase:meta and hbase:namespace into default group by following function:

      specialTables = masterServices.listTableNamesByNamespace(NamespaceDescriptor.SYSTEM_NAMESPACE_NAME_STR)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              xinxin fan xinxin fan
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: