Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-3151

Not able to configure HIVE_OPTS.

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.9.1, 0.10.0
    • Fix Version/s: None
    • Component/s: Configuration
    • Labels:
      None
    • Environment:

      Hadoop-0.23.0 + Hive-0.9.1

      Description

      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 "$@"

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rohithsharma Rohith Sharma K S
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: