You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "lixiaobao (JIRA)" <ji...@apache.org> on 2019/04/16 01:26:00 UTC
[jira] [Created] (HBASE-22250) The same constants used in many
places should be placed in constant classes
lixiaobao created HBASE-22250:
---------------------------------
Summary: The same constants used in many places should be placed in constant classes
Key: HBASE-22250
URL: https://issues.apache.org/jira/browse/HBASE-22250
Project: HBase
Issue Type: Improvement
Components: Client, conf, regionserver
Affects Versions: 2.1.4, 2.1.1, 2.0.0, 1.2.0
Reporter: lixiaobao
Assignee: lixiaobao
Fix For: 3.0.0
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.
{code:java}
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";{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)