You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Lefty Leverenz (JIRA)" <ji...@apache.org> on 2014/09/23 02:09:34 UTC

[jira] [Comment Edited] (HIVE-7497) Fix some default values in HiveConf

    [ https://issues.apache.org/jira/browse/HIVE-7497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14077536#comment-14077536 ] 

Lefty Leverenz edited comment on HIVE-7497 at 9/23/14 12:08 AM:
----------------------------------------------------------------

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 (Edit:  wrong links, these are for *hive.hwi.war.file*):

* [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?

(Edit:  see later comment for correct *hive.server2.global.init.file.location* doc links.)


was (Author: lefty@hortonworks.com):
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.3.4#6332)