Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
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 (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)
Precedence order is: cli prop, env var
Attachments
Issue Links
- is related to
-
HIVE-28095 Hive Query History
-
- Open
-
- links to