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

László Bodor updated HIVE-28324:
--------------------------------
    Description: 
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.

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

  was:
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.

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/])


> 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
>
> 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.
> 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)

Reply via email to