rohithsharma created HIVE-3151:
----------------------------------

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

        

Reply via email to