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

msck can hang when nested partitions are present

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0
    • Component/s: Metastore
    • Labels:
      None

      Description

      Steps to reproduce.

      CREATE TABLE `repairtable`( `col` string) PARTITIONED BY (  `p1` string,  `p2` string)
      
      hive> dfs -mkdir -p /apps/hive/warehouse/test.db/repairtable/p1=c/p2=a/p3=b;
      hive> dfs -touchz /apps/hive/warehouse/test.db/repairtable/p1=c/p2=a/p3=b/datafile;
      
      hive> set hive.mv.files.thread;
      hive.mv.files.thread=15
      
      hive> set hive.mv.files.thread=1;
      hive> MSCK TABLE repairtable;
      

        Attachments

        1. HIVE-15803.1.patch
          6 kB
          Rajesh Balamohan
        2. HIVE-15803.2.patch
          6 kB
          Rajesh Balamohan
        3. HIVE-15803.patch
          5 kB
          Ashutosh Chauhan

          Issue Links

            Activity

              People

              • Assignee:
                rajesh.balamohan Rajesh Balamohan
                Reporter:
                rajesh.balamohan Rajesh Balamohan
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: