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

Hive-site settings are ignored during HCatInputFormat split-calculation

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0, 3.0.0
    • Fix Version/s: 2.2.1, 2.4.0, 3.0.0
    • Component/s: HCatalog
    • Labels:
      None

      Description

      Another one that Selina Zhang and Chris Drome worked on.

      The production hive-site.xml could well contain settings that differ from the defaults in HiveConf.java. In our case, we introduced a custom ORC split-strategy, which we introduced as the site-wide default.

      We noticed that during HCatInputFormat::getSplits(), if the user-script did not contain the setting, the site-wide default was ignored in favour of the HiveConf default. HCat would not convey hive-site settings to the input-format (or anywhere downstream).

      The forthcoming patch fixes this problem.

        Attachments

        1. HIVE-17621.1-branch-2.patch
          4 kB
          Mithun Radhakrishnan
        2. HIVE-17621.1-branch-2.2.patch
          4 kB
          Mithun Radhakrishnan
        3. HIVE-17621.1.patch
          4 kB
          Mithun Radhakrishnan

          Issue Links

            Activity

              People

              • Assignee:
                cdrome Chris Drome
                Reporter:
                mithun Mithun Radhakrishnan
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: