apache / apache/pinot

Task related APIs are not working

Open
#8,177 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.1k
Forks
1.5k
Avg merge
1d 21h
Merged PRs (30d)
189

Description

I'm observing that the series of task related APIs under `PinotTaskRestletResource` are not working as expected.

```
$ curl localhost:9000/tasks/tasktypes
{"code":500,"error":"HTTP 500 Internal Server Error"}
```

Also, the controller side doesn't have the meaningful log.
```
2022/02/09 05:57:22.737 INFO [ControllerResponseFilter] [grizzly-http-server-27] [pinot-controller] [] Handled request from 0:0:0:0:0:0:0:1 GET http://localhost:9000/tasks/taskty
pes, content-type null status code 500 Internal Server Error
```

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure with the `/tasks/tasktypes` curl request and inspect the task-related APIs under `PinotTaskRestletResource`. Check the controller-side request handling and logs around the 500 response. Done means the task APIs return their expected responses and controller logs provide meaningful failure details.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.