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

Hive-on-MR deprecation warning is not diplayed when engine is set to capital letter 'MR'

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.1.0, 2.2.0
    • Fix Version/s: 3.0.0
    • Component/s: Beeline, CLI, Configuration, Hive
    • Labels:
      None

      Description

      hive> SET hive.execution.engine=mr;
      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>

      hive> SET hive.execution.engine=MR;
      hive>

      This warning seems to be generated only with small letter 'mr' wand not with capital letter "MR".

      generateMrDeprecationWarning() seem to be displaying this warning and is being called in different classes.

      Ex: https://github.com/apache/hive/blob/master/cli/src/java/org/apache/hadoop/hive/cli/CliDriver.java#L754

      https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/Driver.java#L1900

        Attachments

        1. HIVE-14678.patch
          1.0 kB
          Sergey Shelukhin

          Activity

            People

            • Assignee:
              sershe Sergey Shelukhin
              Reporter:
              mannem Raja Mannem
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: