You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Thomas Weise (Commented) (JIRA)" <ji...@apache.org> on 2011/12/20 20:30:30 UTC
[jira] [Commented] (HIVE-2665) Support for metastore specific
HADOOP_OPTS environment setting
[ https://issues.apache.org/jira/browse/HIVE-2665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13173454#comment-13173454 ]
Thomas Weise commented on HIVE-2665:
------------------------------------
Would something like this be acceptable?
Index: bin/ext/metastore.sh
===================================================================
--- bin/ext/metastore.sh (revision 1205535)
+++ bin/ext/metastore.sh (working copy)
@@ -26,6 +26,7 @@
# hadoop 20 or newer - skip the aux_jars option and hiveconf
+ export HADOOP_OPTS="$HIVE_METASTORE_HADOOP_OPTS $HADOOP_OPTS"
exec $HADOOP jar $JAR $CLASS "$@"
}
> Support for metastore specific HADOOP_OPTS environment setting
> --------------------------------------------------------------
>
> Key: HIVE-2665
> URL: https://issues.apache.org/jira/browse/HIVE-2665
> Project: Hive
> Issue Type: Improvement
> Components: Metastore
> Reporter: Thomas Weise
> Assignee: Thomas Weise
> Priority: Minor
>
> For development/testing it would be helpful to have a way to define HADOOP_OPTS that apply only to a specific launcher and don't affect everything else launched through bin/hadoop. In this specific case I'm looking for a way to set metastore JVM debug options w/o modifying the HADOOP_OPTS environment setting or the hive scripts (which are replaced on every build).
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira