[ https://issues.apache.org/jira/browse/HIVE-7497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14077536#comment-14077536 ]
Lefty Leverenz commented on HIVE-7497: -------------------------------------- This renames configuration parameter *hive.global.init.file.location* (created in HIVE-5160) to *hive.server2.global.init.file.location* and revises its description, as well as changing its default from System.getenv("HIVE_CONF_DIR") to "$\{env:HIVE_CONF_DIR\}" and changing the default of configuration parameter *hive.hwi.war.file* from "$\{system:HWI_WAR_FILE\}" to "$\{env:HWI_WAR_FILE\}". *hive.server2.global.init.file.location* needs to be documented in two places, with version information and a link to this JIRA ticket: * [Hive Web Interface -- Configuration | https://cwiki.apache.org/confluence/display/Hive/HiveWebInterface#HiveWebInterface-Configuration] * [Configuration Properties -- Hive Web Interface (HWI) | https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties#ConfigurationProperties-HiveWebInterface(HWI)] But it's not clear to me whether the default value changes need any user doc updates -- do they? > Fix some default values in HiveConf > ----------------------------------- > > Key: HIVE-7497 > URL: https://issues.apache.org/jira/browse/HIVE-7497 > Project: Hive > Issue Type: Task > Reporter: Brock Noland > Assignee: Dong Chen > Labels: TODOC14 > Fix For: 0.14.0 > > Attachments: HIVE-7497.1.patch, HIVE-7497.patch > > > HIVE-5160 resolves an env variable at runtime via calling System.getenv(). As > long as the variable is not defined when you run the build null is returned > and the path is not placed in the hive-default,template. However if it is > defined it will populate hive-default.template with a path which will be > different based on the user running the build. We should use > $\{system:HIVE_CONF_DIR\} instead. -- This message was sent by Atlassian JIRA (v6.2#6252)