You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "rohithsharma (JIRA)" <ji...@apache.org> on 2012/06/19 16:19:42 UTC

[jira] [Commented] (HIVE-3151) Not able to configure HIVE_OPTS.

    [ https://issues.apache.org/jira/browse/HIVE-3151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396788#comment-13396788 ] 

rohithsharma commented on HIVE-3151:
------------------------------------

I tried with passing these arguments through HADOOP_OPTS from hive scripts. Unfortunately this doesnot work because HADOOP_OPTS is nullified in hadoop-env.sh.
                
> Not able to configure HIVE_OPTS.
> --------------------------------
>
>                 Key: HIVE-3151
>                 URL: https://issues.apache.org/jira/browse/HIVE-3151
>             Project: Hive
>          Issue Type: Bug
>          Components: Configuration
>    Affects Versions: 0.10.0, 0.9.1
>         Environment: Hadoop-0.23.0 + Hive-0.9.1
>            Reporter: rohithsharma
>
> Parameters like GC_OPTS, DEBUG_OPTS that need to passed for hive for getting gc 
> information and debugging hive respectively. 
> When I configure HIVE_OPTS, hive server is not starting.
> Following way HIVE_OPTS  are set in 
> 1, I added below parameters to hive_opts in "$HIVE_HOME/bin/hive" script.
> GC_OPTS="$GC_OPTS -Xloggc:/home/hive-0.9.0/gcHiveLog.log"
> export HIVE_OPTS="$HIVE_OPTS $GC_OPTS"
> 2. I passed hive_opts "$HIVE_HOME/bin/ext/hiveserver.sh" script.
> exec $HADOOP jar $JAR $CLASS $HIVE_OPTS "$@"

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