Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-28324

HIVE_CLUSTER_ID in env: unified way to mark a cluster

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.1.0
    • 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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            abstractdog László Bodor Assign to me
            abstractdog László Bodor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment