[ https://issues.apache.org/jira/browse/HIVE-28324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
László Bodor updated HIVE-28324: -------------------------------- Fix Version/s: 4.1.0 > HIVE_CLUSTER_ID in env: unified way to mark a cluster > ----------------------------------------------------- > > Key: HIVE-28324 > URL: https://issues.apache.org/jira/browse/HIVE-28324 > Project: Hive > Issue Type: Improvement > Reporter: László Bodor > Assignee: László Bodor > Priority: Major > Labels: pull-request-available > Fix For: 4.1.0 > > > The proposal is to introduce an environment variable that can be injected by > the environment to hive components to be able to identify a cluster. There > are very different hive setups all over the world and all of them have to > implement such things sooner or later. In order to make the hive vendors' > life easier, let's support a common name for this: cluster id. This doesn't > prevent anyone from using their own. > What hive can take care of is to propagate this value to different places in > the code where it makes sense (hs2, llap daemon) > Following naming conventions, this can be interpreted as: > environment variable: *HIVE_CLUSTER_ID* > command line java property: *hive.cluster.id* (as suggested > [here|https://commons.apache.org/proper/commons-cli/]) > Precedence order is: cli prop, env var -- This message was sent by Atlassian Jira (v8.20.10#820010)