hi dears i hope you are well Do you know what does...
# troubleshooting
x
hi dears i hope you are well Do you know what does this error mean and how to fix it? I got it in controller logs. ERROR [CompletionServiceHelper] [grizzly-http-server-0] Server: null returned error: 404, reason: Not Found for uri: http://pinot-controller-01.stg.teh-2.snpb.internal:9000/tasks/generator/transactions_oto_REALTI ME/RealtimeToOfflineSegmentsTask/debug?localOnly=true I need to move old records to offline table this is my task config "task": { "taskTypeConfigsMap": { "RealtimeToOfflineSegmentsTask": { "bucketTimePeriod": "1h", "bufferTimePeriod": "1m", "roundBucketTimePeriod": "1m", "mergeType": "concat", "maxNumRecordsPerSegment": "1000" } } } and controller.task.frequencyPeriod is 1h Thread in Slack Conversation
@Rasoul moved the discussion here.
could you provide more logs here? Also how are those realtime segments download uri look like? Are those uri accessible?
r
Hi Dear Xiang I checked these nc -vz pinot-controller-01.stg.teh-2.snpb.internal 9000 result Connection to pinot-controller-01.stg.teh-2.snpb.internal (172.16.30.59) 9000 port [tcp/*] succeeded also curl -X OPTIONS http://pinot-controller-01.stg.teh-2.snpb.internal:9000/tasks/generator/ result <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <application xmlns="http://wadl.dev.java.net/2009/02"> <doc xmlns:jersey="http://jersey.java.net/" jersey:generatedBy="Jersey: 2.42 2024-03-19 114928"/> <grammars/> <resources base="http://pinot-controller-01.stg.teh-2.snpb.internal:9000/"> <resource path="tasks/generator/"> <method id="deleteTasks" name="DELETE"> <request> <param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="forceDelete" style="query" type="xs:boolean" default="false"/> </request> <response> <representation mediaType="application/json"/> </response> </method> </resource> </resources> </application> but for the remain of path in curl(/transactions_oto_REALTIME/RealtimeToOfflineSegmentsTask/...) i got 404 Not Found
in fact there is no more log this error appears every hour (controller.task.frequencyPeriod)
i can share my table config if it may help you
x
Can you check the controller swagger UI for the APIs you are looking for
You can also execute it from the swagger ui and check the generated request
r
hi again dear Xiang Fu i tried these curls from swagger UI curl -X 'GET' 'http://172.16.30.58:9000/tasks/task/RealtimeToOfflineSegmentsTask/runtime/config result: {"code":500,"error":"Index 1 out of bounds for length 1"} curl -u admin:SnabbP0x -X 'GET' 'http://172.16.30.58:9000/tasks/generator/transactions_oto_REALTIME/RealtimeToOfflineSegmentsTask/debug?localOnly=true' -H 'accept: application/json' result: {"code":404,"error":"Task generation information not found"} and this is my table task config "task": { "taskTypeConfigsMap": { "RealtimeToOfflineSegmentsTask": { "bucketTimePeriod": "1h", "bufferTimePeriod": "1m", "roundBucketTimePeriod": "1m", "mergeType": "concat", "maxNumRecordsPerSegment": "1000" } } also controller.task.frequencyPeriod=10m if you need to see any other API result just mention it
x
can you access controller UI and click on the swagger UI page
once you get there, you can play the APIs there, and it will show you all the http requests as well.
r
yes i can and these are the results from APIs that i run from swagger UI page which API do you want to see its result?can you mention it? these results i sent to you were for .../task/runtime/config and ../{tasktype}/debug
x
ok, then are those minion tasks running?
have you seen any tasks schedule or task status from the UI -> Minion Task Manager?
If yes, then go to minion pod to check the error logs
if no, then check controller for minion task generation errors
r
yes there are two kind of task mergerollup and RealtimeToOfflineSegmentsTask first one is ok work properly but for realtimetoofflinesegment task status is not started and no any task was generated for it also there is no any error in minion log just this error in controller log: ERROR [CompletionServiceHelper] [grizzly-http-server-2] Server: null returned error: 404, reason: Not Found for uri: http://pinot-controller-02.stg.teh-2.snpb.internal:9000/tasks/generator/transactions_oto_REALTI ME/RealtimeToOfflineSegmentsTask/debug?localOnly=true i guess there is an issue in generating process because دo related tasks have been created yet is there any api to know task generation status?
Hi dear Xiang Fu do you have any idea? i'm waiting for you
x
RealtimeToOffline Task if for hybrid table to move segments from realtime table to offline table, is this what you want ? https://docs.pinot.apache.org/operators/operating-pinot/pinot-managed-offline-flows
If so, please configure your table to follow the doc