Replies: 4 comments 3 replies
-
similar problem to me.
I want |
Beta Was this translation helpful? Give feedback.
-
I have the same problem, have you solved it? |
Beta Was this translation helpful? Give feedback.
-
I'm also seeing this issue where In the Trino docs it is described as:
In the Presto docs it is described as:
Is this an issue with documentation on the Trino side? |
Beta Was this translation helpful? Give feedback.
-
Resource groups in either Trino or Presto are only admission control tools. They don't control resource usage once query starts running. The limits only apply to next queries - not already executing ones. Note the doc wording:
For already executing ones the limits are via |
Beta Was this translation helpful? Give feedback.
-
rules.json configuration
{
"rootGroups": [
{
"name": "global",
"softMemoryLimit": "10%",
"hardConcurrencyLimit": 100,
"maxQueued": 1000,
"schedulingPolicy": "weighted",
"jmxExport": true,
"subGroups": [
{
"name": "hive",
"softMemoryLimit": "100%",
"hardConcurrencyLimit": 45,
"maxQueued": 100,
"schedulingWeight": 1,
"jmxExport": true,
"subGroups": [
{
"name": "hh_xx2_001",
"softMemoryLimit": "1%",
"hardConcurrencyLimit": 5,
"maxQueued": 1
},
{
"name": "hadoop",
"softMemoryLimit": "10%",
"hardConcurrencyLimit": 5,
"maxQueued": 100
},
{
"name": "hh_xx2_002",
"softMemoryLimit": "100%",
"hardConcurrencyLimit": 5,
"maxQueued": 100
},
{
"name": "hh_xx2_003",
"softMemoryLimit": "50%",
"hardConcurrencyLimit": 5,
"maxQueued": 100
}
]
}
]
}
],
"selectors": [
{
"group": "global.hive"
}
]
}
The softmemorylimit of subgroups is not valid!
I want to be able to specified as an absolute value or as a percentage of the cluster’s memory.
Beta Was this translation helpful? Give feedback.
All reactions