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


##########
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:
   ```
                           if (context != null) {
                             for (String propName : context.keySet()) {
                               if (propName.startsWith(CHILD_PROPERTY_PREFIX)) {
                                 command.addSystemProperty(
                                     
propName.substring(CHILD_PROPERTY_PREFIX.length()),
                                     task.getContextValue(propName).toString()
                                 );
                               }
                             }
                           }
   ```
   How about calling the toString() method to make the public 
CommandListBuilder addSystemProperty (String property, String value) called



-- 
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