Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-7045

[hive] Avoid use database call for SET queries

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.1.0
    • Component/s: con.hive
    • Labels:
      None

      Description

      – Reproduction –

      1. Open Hive Query editor
      2. Execute the following commands:
      set hive.mapred.supports.subdirectories=false;
      set mapred.input.dir.recursive=true;
      select * from customers limit 1;

      The error message:
      Error while processing statement: FAILED: Hive Internal Error: hive.mapred.supports.subdirectories must be true if any one of following is true: hive.optimize.listbucketing , mapred.input.dir.recursive and hive.optimize.union.remove.

      You will see the same error for all subsequent queries.

      Workaround is to create a new hive session.

        Attachments

          Activity

            People

            • Assignee:
              krish Sai K Chirravuri
              Reporter:
              krish Sai K Chirravuri
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: