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

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

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • 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

        Activity

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

          People

            q977734161 lixiaobao Assign to me
            q977734161 lixiaobao
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment