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

Deprecated HConstants.META_QOS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1, 2.2.0, 2.3.0
    • Client, rpc
    • None
    • Reviewed
    • Mark HConstants.META_QOS as deprecated. It is for internal use only, which is the highest priority. You should not try to set a priority greater than or equal to this value, although it is no harm but also useless.

    Description

      [INFO] Running org.apache.hadoop.hbase.master.TestServerCrashProcedureCarryingMetaStuck
      [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 41.604 s <<< FAILURE! - in org.apache.hadoop.hbase.master.TestServerCrashProcedureCarryingMetaStuck
      [ERROR] test(org.apache.hadoop.hbase.master.TestServerCrashProcedureCarryingMetaStuck) Time elapsed: 30.496 s <<< ERROR!
      java.util.concurrent.TimeoutException
      at org.apache.hadoop.hbase.master.TestServerCrashProcedureCarryingMetaStuck.test(TestServerCrashProcedureCarryingMetaStuck.java:93)

      The META_QOS is introduced by HBASE-21754 and misused in HBASE-21907 as the name is a bit ambiguous. To prevent misusing in the future, let's deprecated the META_QOS in HConstants, and introduce a META_TRANSITION_QOS somewhere that is not IA.Public.

      Attachments

        1. HBASE-21928-v1.patch
          13 kB
          Duo Zhang
        2. HBASE-21928-v1.patch
          13 kB
          Duo Zhang
        3. HBASE-21928.patch
          5 kB
          Duo Zhang

        Issue Links

          Activity

            People

              zhangduo Duo Zhang
              openinx Zheng Hu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: