Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-10471

Make deadline configurable for SIGTERMIN graceful shutdown

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • Impala 4.0.0
    • Impala 4.0.0
    • Backend
    • ghx-label-10

    Description

      While the graceful shutdown deadline can be configured when the SHUTDOWN() statement is executed, when the shutdown is initiated with SIGTERMIN signal it will use a default 1 year deadline. The related ImpalaShutdownSignalHandler can be found here.

      ...
      const int ONE_YEAR_IN_SECONDS = 365 * 24 * 60 * 60;
      Status status = impala_server->StartShutdown(ONE_YEAR_IN_SECONDS, &shutdown_status);
      ...
      

      The --shutdown_deadline_s flag should be respected in this case as well.

      Attachments

        Issue Links

          Activity

            People

              amargoor Amogh Margoor
              tmate Tamas Mate
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: