forked from prestodb/presto
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously, queue rules could create DAGs of queues. This leads to confusing edge cases and will not be supported in the v2 resource management system that is being worked on.
- Loading branch information
Showing
7 changed files
with
69 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
presto-main/src/test/resources/queue_config_bad_out_degree.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"queues": { | ||
"q0": { | ||
"maxConcurrent": 5, | ||
"maxQueued": 20 | ||
}, | ||
"q1": { | ||
"maxConcurrent": 5, | ||
"maxQueued": 20 | ||
}, | ||
"q2": { | ||
"maxConcurrent": 5, | ||
"maxQueued": 20 | ||
} | ||
}, | ||
"rules": [ | ||
{ | ||
"user": "bob", | ||
"queues": [ | ||
"q0", | ||
"q1" | ||
] | ||
}, | ||
{ | ||
"queues": [ | ||
"q0", | ||
"q2" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters