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

ACID: Wait timeout for blocking compaction should be configurable

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0
    • Component/s: Hive
    • Labels:
      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.02.patch
          3 kB
          László Pintér
        2. HIVE-22554.01.patch
          3 kB
          László Pintér

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: