klsince commented on code in PR #9449:
URL: https://github.com/apache/pinot/pull/9449#discussion_r978153285


##########
pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotTaskRestletResource.java:
##########
@@ -410,8 +410,9 @@ public Map<String, PinotTaskConfig> getSubtaskConfigs(
 
   @GET
   @Path("/tasks/subtask/{taskName}/progress")
+  @Produces(MediaType.APPLICATION_JSON)
   @ApiOperation("Get progress of specified sub tasks for the given task 
tracked by worker in memory")
-  public Map<String, String> getSubtaskProgress(@Context HttpHeaders 
httpHeaders,
+  public String getSubtaskProgress(@Context HttpHeaders httpHeaders,

Review Comment:
   I don't think there is use of this, as it's added yesterday in my last PR. 
The change here should make it more flexible to be extended later on. 



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