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

Don't fetch information on Partitions from HDFS instead of MetaStore

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.3.0
    • Metastore
    • None
    • Reviewed
    • Hide
      HIVE-126. Don't fetch information on Partitions from HDFS instead of MetaStore. (Johan Oskarsson via zshao).
      Show
      HIVE-126 . Don't fetch information on Partitions from HDFS instead of MetaStore. (Johan Oskarsson via zshao).

    Description

      When investigating HIVE-91 an issue came up where the information on what partitions a table contains is loaded by listing the directories in the table directory on HDFS. This is then used to overrule what is in the MetaStore if any difference is found.

      • Would it not be preferable if MetaStore is the one authority on what the table contains?
      • It will also be a major hassle (or impossible?) to retrieve this information from HDFS with external tables that have non standard partition names (HIVE-91), such as: table/2008/01/08/portugal where "2008/01/08" is one partition value and "portugal" is another.

      Attachments

        1. HIVE-126.patch
          11 kB
          Johan Oskarsson
        2. HIVE-126.patch
          9 kB
          Johan Oskarsson

        Issue Links

          Activity

            People

              johanoskarsson Johan Oskarsson
              johanoskarsson Johan Oskarsson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: