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

Use of USE_DEPRECATED_CLI environment variable does not work

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0
    • Component/s: CLI
    • Labels:
      None

      Description

      According to https://cwiki.apache.org/confluence/display/Hive/Replacing+the+Implementation+of+Hive+CLI+Using+Beeline if we set USE_DEPRECATED_CLI=false it should use beeline for hiveCli. But it doesn't seem to work.

      In order to reproduce this issue:

      $ echo $USE_DEPRECATED_CLI
      
      $ ./hive
      Hive-on-MR is deprecated in Hive 2 and may not be available in the future versions. Consider using a different execution engine (i.e. tez, spark) or using Hive 1.X releases.
      hive>
      $
      $ export USE_DEPRECATED_CLI=false
      $ echo $USE_DEPRECATED_CLI
      false
      $ ./hive
      Hive-on-MR is deprecated in Hive 2 and may not be available in the future versions. Consider using a different execution engine (i.e. tez, spark) or using Hive 1.X releases.
      hive>
      

        Attachments

        1. HIVE-14151.1.patch
          0.7 kB
          Vihang Karajgaonkar

          Activity

            People

            • Assignee:
              vihangk1 Vihang Karajgaonkar
              Reporter:
              vihangk1 Vihang Karajgaonkar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: