Maintenance windows

This page explains maintenance windows, which provide control over whendisruptive service maintenance such as security patches can occur on yourDataproc Metastore services.

Note: During maintenance, the Dataproc Metastore services maybecome unavailable.

Overview

Maintenance windows give you fine-grained control over when maintenance canoccur in order to mitigate potential transient disruptions to your workloads.These disrupting maintenance do not happen very often, but in some cases, mayrequire server restart to apply urgent fixes.

Note: Normal maintenance that doesn't cause service downtime can still occuroutside of the maintenance window. We always try to honor a service'smaintenance window for potentially disruptive updates when possible.

Maintenance windows are useful for the following types of scenarios, amongothers:

  • Off-peak hours: You want to minimize the chance of downtime by schedulingautomatic upgrades during off-peak hours when traffic is reduced.
  • On-call: You want to ensure that upgrades happen during working hours sothat someone can monitor the upgrades and manage any unanticipated issues.
  • Multi-cluster upgrades: You want to roll out upgrades across multipleservices in different regions one at a time at specified intervals.

Maintenance windows are scheduled to last up to two hours at most. If tasks runbeyond the window, Dataproc Metastore attempts to pause the operation andresume it during the next maintenance window.

Dataproc Metastore reserves the right to roll out emergency upgradesoutside of maintenance windows.

Configure a maintenance window

You can configure separate, repeating maintenance windows for each of yourDataproc Metastore services.

To configure a maintenance window, you configure the day of the week and hour ofthe day when it starts. For example, you can configure a maintenancewindow that recurs every Friday at 6:00 AM.

Note: The day and hour are defined in UTC IIUC. When using the Google Cloud console,times are always displayed using your local timezone.

You can configure a maintenance window using the Google Cloud console.

Create a service with a maintenance window

To create a maintenance window for a new service:

Console

  1. In the Google Cloud console, open the Dataproc Metastore page:

    Open Dataproc Metastore in theGoogle Cloud console

  2. At the top of theDataproc Metastore page, click theCreatebutton. TheCreate service page opens.

  3. Configure your service as desired.

  4. UnderMaintenance window, select theDay of week.

  5. Then select theHour of day.

  6. ClickSubmit.

Configure a maintenance window for an existing service

To create or modify a maintenance window for an existing service:

Console

  1. In the Google Cloud console, open the Dataproc Metastore page:

    Open Dataproc Metastore in theGoogle Cloud console

  2. On theDataproc Metastore page, click the service name of theservice you'd like to update. TheService detail page for that service opens.

  3. Under theConfiguration tab, click theEdit button. TheEdit service page opens.

  4. In theMaintenance Window section, select theDay of week.

  5. Then select theHour of day.

  6. Click theSubmit button to update the service.

What's next

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-02-19 UTC.