soumitra-st opened a new pull request, #13537: URL: https://github.com/apache/pinot/pull/13537
# Before fix ## Curl output ``` % curl -k "http://localhost:9000/tasks/REFRESH/tasks" -w "\n%{http_code}\n" {"code":500,"error":"Task queue: TaskQueue_REFRESH for task type: REFRESH does not exist"} 500 ``` ## Log in the controller ``` 2024/07/03 21:07:02.350 ERROR [WebApplicationExceptionMapper] [grizzly-http-server-0] Server error: java.lang.IllegalArgumentException: Task queue: TaskQueue_REFRESH for task type: REFRESH does not exist at org.apache.pinot.shaded.com.google.common.base.Preconditions.checkArgument(Preconditions.java:448) at org.apache.pinot.controller.helix.core.minion.PinotHelixTaskResourceManager.getTasks(PinotHelixTaskResourceManager.java:320) at org.apache.pinot.controller.api.resources.PinotTaskRestletResource.getTasks(PinotTaskRestletResource.java:194) ``` # After fix ## Curl output ``` % curl -k "http://localhost:9000/tasks/REFRESH/tasks" -w "\n%{http_code}\n" [] 200 ``` -- 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]
