Hive
  1. Hive
  2. HIVE-3151

Not able to configure HIVE_OPTS.

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major 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 "$@"

        Activity

        Hide
        Rohith added a comment -

        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.

        Show
        Rohith added a comment - 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.

          People

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

            Dates

            • Created:
              Updated:

              Development