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

msck can hang when nested partitions are present

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.2.0
    • Metastore
    • 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.patch
          5 kB
          Ashutosh Chauhan
        2. HIVE-15803.1.patch
          6 kB
          Rajesh Balamohan
        3. HIVE-15803.2.patch
          6 kB
          Rajesh Balamohan

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: