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

The same constants used in many places should be placed in constant classes

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2.0, 2.0.0, 2.1.1, 2.1.4
    • Fix Version/s: 3.0.0, 2.2.0, 2.3.0
    • Component/s: Client, conf, regionserver
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      I think we should put these configurations in the HConstants class to avoid the trouble of modifying a lot of places when we modify them later.

      public static final String MASTER_KRB_PRINCIPAL = "hbase.master.kerberos.principal";
      public static final String MASTER_KRB_KEYTAB_FILE = "hbase.master.keytab.file";
      public static final String REGIONSERVER_KRB_PRINCIPAL = "hbase.regionserver.kerberos.principal";
      public static final String REGIONSERVER_KRB_KEYTAB_FILE = "hbase.regionserver.keytab.file";

        Attachments

        1. HBASE-22250.patch
          11 kB
          lixiaobao

          Activity

            People

            • Assignee:
              q977734161 lixiaobao
              Reporter:
              q977734161 lixiaobao
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: