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

    • 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: