[
https://issues.apache.org/jira/browse/HIVE-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895959#action_12895959
]
Joydeep Sen Sarma commented on HIVE-1513:
-----------------------------------------
yes - it's possible. however a lot of variables etc. are initialized by the
time we get to loading ext/*.sh. for example we allow HADOOP_HEAPSIZE to be
specified via env var. but aside from doing an export before launching the hive
script, there's no way to configure this externally. the ext/* trick wouldn't
work cause it's comes too late.
i think this is simple enough - we can just source a conf/hive-env.sh or
something of the sort so that admins can provide right values for all these
vars based on their requirements via config files.
> hive starter scripts should load admin/user supplied script for
> configurability
> -------------------------------------------------------------------------------
>
> Key: HIVE-1513
> URL: https://issues.apache.org/jira/browse/HIVE-1513
> Project: Hadoop Hive
> Issue Type: Improvement
> Components: CLI
> Reporter: Joydeep Sen Sarma
>
> it's difficult to add environment variables to Hive starter scripts except by
> modifying the scripts directly. this is undesirable (since they are source
> code). Hive starter scripts should load a admin supplied shell script for
> configurability. This would be similar to what hadoop does with hadoop-env.sh
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.