Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-5223

hive-env.sh overwrites user value of HIVE_AUX_JARS_PATH

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.2.5
    • 1.5.1
    • ambari-agent
    • None

    Description

      This line at the bottom of hive-env.sh disregards any user-provided values, masking them from the launch script.

      # Folder containing extra ibraries required for hive compilation/execution can be controlled by:
      export HIVE_AUX_JARS_PATH=/usr/lib/hcatalog/share/hcatalog/hcatalog-core.jar
      

      This breaks this feature for users of both the environment export HIVE_AUX_JARS_PATH="my custom value" and the command line hive --auxpath "my custom value" .

      Attachments

        1. AMBARI-5223.patch
          2 kB
          Vitaly Brodetskyi

        Issue Links

          Activity

            People

              vbrodetskyi Vitaly Brodetskyi
              vbrodetskyi Vitaly Brodetskyi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: