Jackie-Jiang commented on code in PR #8555: URL: https://github.com/apache/pinot/pull/8555#discussion_r851552088
########## pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotTaskRestletResource.java: ########## @@ -380,13 +386,16 @@ public Map<String, String> scheduleTasks(@ApiParam(value = "Task type") @QueryPa } @POST + @ManagedAsync + @Produces(MediaType.APPLICATION_JSON) @Path("/tasks/execute") @Authenticate(AccessType.CREATE) @ApiOperation("Execute a task on minion") - public Map<String, String> executeAdhocTask(AdhocTaskConfig adhocTaskConfig) { + public void executeAdhocTask(AdhocTaskConfig adhocTaskConfig, @Suspended AsyncResponse asyncResponse, + @Context org.glassfish.grizzly.http.server.Request requestContext) { Review Comment: ```suggestion @Context Request requestContext) { ``` -- 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: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org