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

Hive-site settings are ignored during HCatInputFormat split-calculation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0, 3.0.0
    • 2.2.1, 2.4.0, 3.0.0
    • HCatalog
    • None

    Description

      Another one that selinazh and cdrome 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.patch
          4 kB
          Mithun Radhakrishnan
        2. HIVE-17621.1-branch-2.2.patch
          4 kB
          Mithun Radhakrishnan
        3. HIVE-17621.1-branch-2.patch
          4 kB
          Mithun Radhakrishnan

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: