Skip to content

Commit

Permalink
MLCOMPUTE-1562 | fix Spark driver maxresultsize validation (#3933)
Browse files Browse the repository at this point in the history
* MLCOMPUTE-1562 | fix Spark driver maxresultsize validation

---------

Co-authored-by: Sameer Sharma <[email protected]>
  • Loading branch information
CaptainSame and Sameer Sharma authored Aug 19, 2024
1 parent f2398c3 commit b6aa094
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions paasta_tools/cli/schemas/tron_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 +418,17 @@
]
},
"spark.driver.maxResultSize": {
"type": "string",
"pattern": "^[1-9]+[0-9]*[kmgt]$"
"oneOf": [
{
"type": "string",
"pattern": "^[1-9]+[0-9]*[kmgt]$"
},
{
"type": "number",
"minimum": 0,
"exclusiveMinimum": true
}
]
},
"spark.scheduler.minRegisteredResourcesRatio": {
"type": "number",
Expand Down

0 comments on commit b6aa094

Please sign in to comment.