Query watchdog
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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 1 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A system comprising: a processing system comprises of one or more processors; and a memory system comprises of one or more memories, the memory system coupled with the processing system, the memory system comprised of stored instructions the instructions when executed causes the processing system to: receive an indication that a cluster processing job is starting; determine that a time limit is exceeded for processing one or more data instances associated with the cluster processing job or that an output of one or more data instances exceeds an output limit; terminate the processing of the one or more data instances in response to the determination that the time limit is exceeded or the output of one or more data instances exceeds the output limit; track a number of terminated data instances; and indicate that the cluster processing job should be terminated in response to the number of terminated data instances surpassing a threshold.
- Claim 2Depends on #1
The system of claim 1, wherein the data instance comprises a row and wherein the time limit comprises a predetermined time limit for processing of a most recent N data instances, wherein N comprises a predetermined number of data instances for the predetermined time limit.
- Claim 3Depends on #1
The system of claim 1, wherein the output limit comprises one of: a number of output bytes, a number of output data instances, a number of output files, and a predetermined output limit exceeded during processing of a most recent N data instances, wherein N comprises a predetermined number of data instances for the predetermined output limit.
- Claim 4Depends on #1
The system of claim 1, wherein the output limit comprises a predetermined output limit exceeded during processing of a most recent N data instances, wherein N comprises a predetermined number of data instances for the predetermined output limit.
- Claim 5Depends on #1
The system of claim 1, wherein the stored instructions further comprise instructions that when executed causes the processing system to: terminate the processing of the cluster processing job.
- Claim 6Depends on #5
The system of claim 5, wherein the stored instructions further comprise instructions that when executed causes the processing system to: store a status indication that the cluster processing job is terminated.
- Claim 7Depends on #6
The system of claim 6, wherein the stored instructions further comprise instructions that when executed causes the processing system to: indicate the data instance that caused the cluster processing job to be terminated.
- Claim 8Depends on #1
The system of claim 1, wherein the stored instructions further comprise instructions that when executed causes the processing system to: indicate the time limit is exceeded or that the output of one or more data instances exceeds the output limit.
Technical Overview & Description
CROSS REFERENCE TO OTHER APPLICATIONS This application is a continuation of U.S. patent application Ser. No. 17/537,124, entitled QUERY WATCHDOG filed Nov. 29, 2021, which is a continuation of U.S. patent application Ser. No. 16/793,921, now U.S. Pat. No. 11,216,324, entitled QUERY WATCHDOG filed Feb. 18, 2020, which is a continuation of U.S. patent application Ser. No. 15/809,907, now U.S. Pat. No. 10,606,675, entitled QUERY WATCHDOG filed Nov. 10, 2017, each of which is incorporated herein by reference for all purposes. BACKGROUND In a traditional cluster computing application, cluster computing users share cluster resources (e.g., cluster processing capability, cluster memory, cluster storage, etc.). A cluster typically is able to support many small jobs or one or more large jobs. In some cases an error is made when creating a job, and because of this the job consumes a very large amount of resources (e.g., memory resources, processor resources, etc.). This can lead to the problem of the job consuming the capacity of multiple workers or even a large fraction of the cluster for an extended time crowding out the processing of other jobs. BRIEF DESCRIPTION OF THE DRAWINGS Various embodiments of the invention are disclosed in the following detailed description and the accompanying drawings. FIG. 1 is a block diagram illustrating an embodiment of a network system. FIG. 2 A is a block diagram illustrating an embodiment of a cluster computing system. FIG. 2 B is a diagram illustrating an embodiment of a cluster worker system. FIG. 3 is a flow diagram illustrating an embodiment of a process for a query watchdog. FIG. 4 is a flow diagram illustrating an embodiment of a process for determining whether a data instance satisfies a watchdog criterion. FIG. 5 is a flow diagram illustrating an embodiment of a process for determining whether a cluster processing job should be killed. FIG. 6 is a flow diagram illustrating an embodiment of a process for killing a cluster processin
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (1)
| Patent | Title | Year | Citations |
|---|