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

Hive-site settings are ignored during HCatInputFormat split-calculation

Log workAgile BoardRank to TopRank to BottomVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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.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

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              cdrome Chris Drome Assign to me
              Reporter:
              mithun Mithun Radhakrishnan

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment