[
https://issues.apache.org/jira/browse/HIVE-6480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13967452#comment-13967452
]
Sushanth Sowmyan commented on HIVE-6480:
----------------------------------------
Shouldn't need any userdoc, this simply changes the semantic to a "set if not
already set" mode rather than a blind set. Most people will not even run this
script, since the bigtop installations of hive won't use this script to start
the metastore - this is a leftover script from the days hcat was a separate
project - it's use now is primarily so devs can use for testing the metastore
without too much setup.
> Metastore server startup script ignores ENV settings
> ----------------------------------------------------
>
> Key: HIVE-6480
> URL: https://issues.apache.org/jira/browse/HIVE-6480
> Project: Hive
> Issue Type: Bug
> Components: HCatalog
> Affects Versions: 0.12.0
> Reporter: Adam Faris
> Assignee: Adam Faris
> Priority: Minor
> Fix For: 0.14.0
>
> Attachments: HIVE-6480.01.patch
>
>
> This is a minor issue with hcat_server.sh. Currently the startup script has
> HADOOP_HEAPSIZE hardcoded to 2048, causing administrators to hand edit the
> script. As hcat_server.sh reads hcat-env.sh, it makes sense to allow an
> administrator to define HADOOP_HEAPSIZE in hcat-env.sh (or other location
> like /etc/profile).
> Secondly, there is no defined default for METASTORE_PORT in hcat_server.sh.
> If METASTORE_PORT is missing, the metastore server fails to start.
> I will attach a patch in my next update, once this jira is opened.
--
This message was sent by Atlassian JIRA
(v6.2#6252)