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

msck repair should find partitions already containing data files

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.1, 0.10.0
    • Fix Version/s: 0.11.0
    • Component/s: Metastore
    • Labels:

      Description

      msck repair currently will only discover partition directories if they are empty.

      It seems a more apt use case to copy data files into a table, creating the partition directories as you go, rather than creating a bunch of empty partition directories, then running msck repair to dynamically add them, then inserting your actual data files.

        Attachments

        1. HIVE-3231.1.patch.txt
          1 kB
          Keegan Mosley
        2. HIVE-3231.2.patch.txt
          2 kB
          Keegan Mosley

          Activity

            People

            • Assignee:
              cwsteinbach Carl Steinbach
              Reporter:
              kmosley Keegan Mosley
            • Votes:
              1 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: