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

HiveServer(2) ignores HIVE_OPTS

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.12.0
    • Fix Version/s: 0.14.0
    • Component/s: HiveServer2
    • Labels:
      None

      Description

      In hiveserver2.sh:

      exec $HADOOP jar $JAR $CLASS "$@"
      

      While cli.sh having:

      exec $HADOOP jar ${HIVE_LIB}/hive-cli-*.jar $CLASS $HIVE_OPTS "$@"
      

      Hence some hive commands that run properly in Hive shell fail in HiveServer.

        Attachments

        1. HIVE-6820.1.patch
          0.7 kB
          Bing Li

          Issue Links

            Activity

              People

              • Assignee:
                libing Bing Li
                Reporter:
                rding Richard Ding
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: