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

msck repair should find partitions already containing data files

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.1, 0.10.0
    • 0.11.0
    • Metastore

    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.2.patch.txt
          2 kB
          Keegan Mosley
        2. HIVE-3231.1.patch.txt
          1 kB
          Keegan Mosley

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: