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

ACID: Wait timeout for blocking compaction should be configurable

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1
    • Hive
    • None

    Description

      The wait timeout for blocking compaction is hardcoded to 5 minutes. 

      public class AlterTableCompactOperation extends DDLOperation<AlterTableCompactDesc> {
        private static final int FIVE_MINUTES_IN_MILLIES = 5*60*1000;
      
      ...
      }

      This should be configurable via a Hive Configuration parameter. 

      Attachments

        1. HIVE-22554.01.patch
          3 kB
          László Pintér
        2. HIVE-22554.02.patch
          3 kB
          László Pintér

        Issue Links

          Activity

            People

              lpinter László Pintér
              lpinter László Pintér
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: