[
https://issues.apache.org/jira/browse/HIVE-7497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14072930#comment-14072930
]
Dong Chen commented on HIVE-7497:
---------------------------------
This patch changes the property default to ${env:HIVE_CONF_DIR}
Also rename the property to "hive.server2.global.init.file.location" for
consistency.
> HIVE_GLOBAL_INIT_FILE_LOCATION should default to ${system:HIVE_CONF_DIR}
> ------------------------------------------------------------------------
>
> Key: HIVE-7497
> URL: https://issues.apache.org/jira/browse/HIVE-7497
> Project: Hive
> Issue Type: Task
> Reporter: Brock Noland
> Attachments: 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)