# US 2025/0165324 A1 · Query Watchdog

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0165324 A1
- Document ID: US20250165324A1
- Status: Published application
- Kind: A1
- Application number: 19/030,032
- Filed: 2025-01-17
- Published: 2025-05-22
- Earliest claimed: 2017-11-10
- Assignees: Databricks, Inc.
- Applicants: Databricks, Inc.
- Inventors: Alicja Luszczak; Srinath Shankar; Shi Xin
- Web page: https://patentgrep.com/patent/US20250165324A1

## CPC

- G06F 11/0757: {by exceeding a time limit, i.e. time-out, e.g. watchdogs}
- G06F 11/3409: {for performance assessment}
- G06F 11/0721: {within a central processing unit [CPU]}
- G06F 11/076: {by exceeding a count or rate limit, e.g. word- or bit count limit}
- G06F 11/0793: {Remedial or corrective actions (recovery from an exception in an instruction pipeline G06F9/3861; by retry G06F11/1402; for recovering from a failure of a protocol instance or entity H04L69/40)}
- G06F 11/3024: {where the computing system component is a central processing unit [CPU]}
- G06F 11/3419: {by assessing time}
- G06F 11/3495: {for systems}
- G06F 2201/81: Threshold
- G06F 2201/865: Monitoring of software
- G06F 2201/88: Monitoring involving counting
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system for monitoring job execution includes an interface and a processor. The interface is configured to receive an indication to start a cluster processing job. The processor is configured to determine whether processing a data instance associated with the cluster processing job satisfies a watchdog criterion; and in the event that processing the data instance satisfies the watchdog criterion, cause the processing of the data instance to be killed.

## Claims

### Claim 1

A method comprising:
receiving an indication that processing of a task has been terminated, wherein the task is one of one of more tasks of a cluster processing job;
incrementing a counter value, the counter value indicative of a total number of tasks associated with the cluster processing job that have been terminated; and
automatically terminating execution of the cluster processing job responsive to the counter value meeting a threshold value.

### Claim 2 (depends on 1)

The method of claim 1, wherein the cluster processing job is a query to process data stored in a data storage system.

### Claim 3 (depends on 1)

The method of claim 1, wherein the threshold value is greater than 0.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
determining that a previous task associated with the cluster processing job has been terminated;
incrementing an earlier version of the counter value indicating the total number of tasks associated with the cluster processing job that have been terminated;
determining that the earlier version of the counter value does not meet the threshold value; and
causing the previous task associated with the cluster processing job to be restarted in response to determining that the earlier version of the counter value is below the threshold value.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
determining that a period of time that the task associated with the cluster processing job has been processing meets a threshold period of time; and
terminating the task associated with the cluster processing job in response to determining that the period of time meets the threshold period of time.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
storing, in an output file, an indication that the cluster processing job has been terminated.

### Claim 7 (depends on 6)

The method of claim 6, further comprising:
storing, in the output file, an indication of the task associated with the cluster processing job that has been terminated and the counter value.

### Claim 8

A system comprising:
one or more computer processors; and
one or more computer readable mediums storing instructions that, when executed by the one or more computer processors, cause the system to:
receive an indication that processing of a task has been terminated, wherein the task is one of one of more tasks of a cluster processing job;
increment a counter value, the counter value indicative of a total number of tasks associated with the cluster processing job that have been terminated; and
automatically terminate execution of the cluster processing job responsive to the counter value meeting a threshold value.

### Claim 9 (depends on 8)

The system of claim 8, wherein the cluster processing job is a query to process data stored in a data storage system.

### Claim 10 (depends on 8)

The system of claim 8, wherein the threshold value is greater than 0.

### Claim 11 (depends on 8)

The system of claim 8, wherein the instructions further cause the system to:
determine that a previous task associated with the cluster processing job has been terminated;
increment an earlier version of the counter value indicating the total number of tasks associated with the cluster processing job that have been terminated;
determine that the earlier version of the counter value does not exceed the threshold value; and
cause the previous task associated with the cluster processing job to be restarted in response to determining that the earlier version of the counter value is below the threshold value.

### Claim 12 (depends on 8)

The system of claim 8, wherein the instructions further cause the system to:
determine that a period of time that the task associated with the cluster processing job has been processing exceeds a threshold period of time; and
terminate the task associated with the cluster processing job in response to determining that the period of time exceeds the threshold period of time.

### Claim 13 (depends on 8)

The system of claim 8, wherein the instructions further cause the system to:
store, in an output file, an indication that the cluster processing job has been terminated.

### Claim 14 (depends on 13)

The system of claim 13, wherein the instructions further cause the system to:
store, in the output file, an indication of the task associated with the cluster processing job that has been terminated and the counter value.

### Claim 15

A non-transitory computer readable medium comprising stored instructions encoded thereon that, when executed by one or more computer processors of a computing system, cause the computing system to:
receive an indication that processing of a task has been terminated, wherein the task is one of one of more tasks of a cluster processing job;
increment a counter value, the counter value indicative of a total number of tasks associated with the cluster processing job that have been terminated; and
automatically terminate execution of the cluster processing job a responsive to the counter value meeting a threshold value.

### Claim 16 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein the cluster processing job is a query to process data stored in a data storage system.

### Claim 17 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein the threshold value is greater than 0.

### Claim 18 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein the instructions further cause the computing system to:
determine that a previous task associated with the cluster processing job has been terminated;
increment an earlier version of the counter value indicating the total number of tasks associated with the cluster processing job that have been terminated;
determine that the earlier version of the counter value does not meet the threshold value; and
cause the previous task associated with the cluster processing job to be restarted in response to determining that the earlier version of the counter value is below the threshold value.

### Claim 19 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein the instructions further cause the computing system to:
determine that a period of time that the task associated with the cluster processing job has been processing meets a threshold period of time; and
terminate the task associated with the cluster processing job in response to determining that the period of time meets the threshold period of time.

### Claim 20 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein the instructions further cause the computing system to:
store, in an output file, an indication that the cluster processing job has been terminated.
