[ 
https://issues.apache.org/jira/browse/HIVE-7497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brock Noland updated HIVE-7497:
-------------------------------

    Description: 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.  (was: 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.)

> 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
>
> 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)

Reply via email to