kfaraz commented on code in PR #16281:
URL: https://github.com/apache/druid/pull/16281#discussion_r1566657135


##########
indexing-service/src/main/java/org/apache/druid/indexing/overlord/ForkingTaskRunner.java:
##########
@@ -909,24 +909,9 @@ public CommandListBuilder add(String arg)
       return this;
     }
 
-    public CommandListBuilder addSystemProperty(String property, int value)
+    public CommandListBuilder addSystemProperty(String property, Object value)

Review Comment:
   Using an `Object` as the value of a system property is not appropriate. It 
must always be a primitive or a String. Hence, the different 
`addSystemProperty()` methods.
   
   As a workaround to the original problem, you can simply pass the integer 
value quoted as a String. 
(https://github.com/apache/druid/issues/16271#issuecomment-2058155166)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to