New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MiddleManager errors while executing the peon task #16271
Comments
result is : |
@soullkk , does it work if you pass the |
Yes, using "33554432" is not a problem, but this value is an int instead of a string, and it does not match the guidance provided by the Druid. Additionally, in lower versions of the Druid, such as 24.0.1, using 33554432 is not a problem. So I think this is a bug and an incompatible change point in higher versions of the Druid. |
MiddleManager errors while executing the peon task
Affected Version
28.0.1
Description
Please include as much detailed information about the problem as possible.
3-node cluster
peon task context :
Steps to reproduce the problem
When executing the Poen task, set druid-indexer.fork.property.druid.processing.buffer.sizeBytes to an integer
The error message or stack traces encountered. Providing more context, such as nearby log messages or even entire logs, can be helpful.
When the return value of task.getContextValue(propName) is an Integer instead of an int, "public CommandListBuilder addSystemProperty(String property, String value)" will be called and an error will occur: java. lang. ClassCastException: Java. lang. Integer cannot be cast to Java. lang. String.
I think it is necessary to change "public CommandListBuilder addSystemProperty(String property, int value)" to "public CommandListBuilder addSystemProperty(String property, Object value)" , and I will try to fix this bug soon
The text was updated successfully, but these errors were encountered: