[ 
https://issues.apache.org/jira/browse/HIVE-29319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mahesh Raju Somalaraju updated HIVE-29319:
------------------------------------------
    Description: 
In the file 
MetastoreConf.java file we need to handle the secondary name for some of meta 
store configs. These configs need to prefix with hive.x same like other configs 
which are already present.
Below are the 5 missed configs which needs to handle.
 
METASTORE_HOUSEKEEPING_LEADER_ELECTION("{*}metastore.housekeeping.leader.election{*}",
"{*}metastore.housekeeping.leader.election{*}",
"lock", new StringSetValidator("host", "lock"),
"Set to host, HMS will choose the leader by the configured 
metastore.housekeeping.leader.hostname.\n" +
"Set to lock, HMS will use the Hive lock to elect the leader."),

METASTORE_HOUSEKEEPING_LEADER_AUDITTABLE("{*}metastore.housekeeping.leader.auditTable{*}",
"{*}metastore.housekeeping.leader.auditTable{*}", "",
"Audit the leader election event to a plain json table when configured."),

METASTORE_HOUSEKEEPING_LEADER_NEW_AUDIT_FILE("{*}metastore.housekeeping.leader.newAuditFile{*}",
"{*}metastore.housekeeping.leader.newAuditFile{*}", false,
"Whether to create a new audit file in response to the new election event " +
"when the metastore.housekeeping.leader.auditTable is not empty.\n" +
"True for creating a new file, false otherwise."),

METASTORE_HOUSEKEEPING_LEADER_AUDIT_FILE_LIMIT("{*}metastore.housekeeping.leader.auditFiles.limit{*}",
"{*}metastore.housekeeping.leader.auditFiles.limit{*}", 10,
"Limit the number of small audit files when 
metastore.housekeeping.leader.newAuditFile is true.\n" +
"If the number of audit files exceeds the limit, then the oldest will be 
deleted."),

METASTORE_HOUSEKEEPING_LEADER_LOCK_NAMESPACE("{*}metastore.housekeeping.leader.lock.namespace{*}",
"{*}metastore.housekeeping.leader.lock.namespace{*}", "",
"The database where the Hive lock sits when 
metastore.housekeeping.leader.election is set to lock."),

  was:
In the file 
MetastoreConf.java file we need to handle the secondary name for some of meta 
store configs. These configs need to prefix with hive.x 
Below are the 5 missed configs which need to handle.
 
METASTORE_HOUSEKEEPING_LEADER_ELECTION("{*}metastore.housekeeping.leader.election{*}",
"{*}metastore.housekeeping.leader.election{*}",
"lock", new StringSetValidator("host", "lock"),
"Set to host, HMS will choose the leader by the configured 
metastore.housekeeping.leader.hostname.\n" +
"Set to lock, HMS will use the Hive lock to elect the leader."),

METASTORE_HOUSEKEEPING_LEADER_AUDITTABLE("{*}metastore.housekeeping.leader.auditTable{*}",
"{*}metastore.housekeeping.leader.auditTable{*}", "",
"Audit the leader election event to a plain json table when configured."),

METASTORE_HOUSEKEEPING_LEADER_NEW_AUDIT_FILE("{*}metastore.housekeeping.leader.newAuditFile{*}",
"{*}metastore.housekeeping.leader.newAuditFile{*}", false,
"Whether to create a new audit file in response to the new election event " +
"when the metastore.housekeeping.leader.auditTable is not empty.\n" +
"True for creating a new file, false otherwise."),

METASTORE_HOUSEKEEPING_LEADER_AUDIT_FILE_LIMIT("{*}metastore.housekeeping.leader.auditFiles.limit{*}",
"{*}metastore.housekeeping.leader.auditFiles.limit{*}", 10,
"Limit the number of small audit files when 
metastore.housekeeping.leader.newAuditFile is true.\n" +
"If the number of audit files exceeds the limit, then the oldest will be 
deleted."),

METASTORE_HOUSEKEEPING_LEADER_LOCK_NAMESPACE("{*}metastore.housekeeping.leader.lock.namespace{*}",
"{*}metastore.housekeeping.leader.lock.namespace{*}", "",
"The database where the Hive lock sits when 
metastore.housekeeping.leader.election is set to lock."),


> Handle secondary names for meta store related configs
> -----------------------------------------------------
>
>                 Key: HIVE-29319
>                 URL: https://issues.apache.org/jira/browse/HIVE-29319
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Mahesh Raju Somalaraju
>            Assignee: Mahesh Raju Somalaraju
>            Priority: Major
>
> In the file 
> MetastoreConf.java file we need to handle the secondary name for some of meta 
> store configs. These configs need to prefix with hive.x same like other 
> configs which are already present.
> Below are the 5 missed configs which needs to handle.
>  
> METASTORE_HOUSEKEEPING_LEADER_ELECTION("{*}metastore.housekeeping.leader.election{*}",
> "{*}metastore.housekeeping.leader.election{*}",
> "lock", new StringSetValidator("host", "lock"),
> "Set to host, HMS will choose the leader by the configured 
> metastore.housekeeping.leader.hostname.\n" +
> "Set to lock, HMS will use the Hive lock to elect the leader."),
> METASTORE_HOUSEKEEPING_LEADER_AUDITTABLE("{*}metastore.housekeeping.leader.auditTable{*}",
> "{*}metastore.housekeeping.leader.auditTable{*}", "",
> "Audit the leader election event to a plain json table when configured."),
> METASTORE_HOUSEKEEPING_LEADER_NEW_AUDIT_FILE("{*}metastore.housekeeping.leader.newAuditFile{*}",
> "{*}metastore.housekeeping.leader.newAuditFile{*}", false,
> "Whether to create a new audit file in response to the new election event " +
> "when the metastore.housekeeping.leader.auditTable is not empty.\n" +
> "True for creating a new file, false otherwise."),
> METASTORE_HOUSEKEEPING_LEADER_AUDIT_FILE_LIMIT("{*}metastore.housekeeping.leader.auditFiles.limit{*}",
> "{*}metastore.housekeeping.leader.auditFiles.limit{*}", 10,
> "Limit the number of small audit files when 
> metastore.housekeeping.leader.newAuditFile is true.\n" +
> "If the number of audit files exceeds the limit, then the oldest will be 
> deleted."),
> METASTORE_HOUSEKEEPING_LEADER_LOCK_NAMESPACE("{*}metastore.housekeeping.leader.lock.namespace{*}",
> "{*}metastore.housekeeping.leader.lock.namespace{*}", "",
> "The database where the Hive lock sits when 
> metastore.housekeeping.leader.election is set to lock."),



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to