jayeshchoudhary commented on issue #11795:
URL: https://github.com/apache/pinot/issues/11795#issuecomment-1761606689

   @Jackie-Jiang UI shows whatever the API is returning as is. So I guess we 
are trimming data from backend.
   But sending entire stack trace to UI is not a good idea. the response size 
can be in MB's.
   
   For context UI is calling this API 
   GET - `/tasks/task/${taskName}/debug?verbosity=1`
   
   Sample response 
   ```json
   {
     "taskState": "COMPLETED",
     "subtaskCount": {
       "total": 1,
       "completed": 1,
       "running": 0,
       "waiting": 0,
       "error": 0,
       "unknown": 0
     },
     "startTime": "2023-10-12 18:20:15 GMT",
     "executionStartTime": "2023-10-12 18:20:15 GMT",
     "finishTime": "2023-10-12 18:20:21 GMT",
     "subtaskInfos": [
       {
         "taskId": 
"Task_SegmentImportTask_196321ba-d997-480a-96c0-b195498f94a0_1697134812091_0",
         "state": "COMPLETED",
         "startTime": "2023-10-12 18:20:15 GMT",
         "finishTime": "2023-10-12 18:20:21 GMT",
         "participant": 
"Minion_pinot-pinot-minion-0.pinot-pinot-minion-headless.managed.svc.cluster.local_9514",
         "info": "Succeeded",
         "taskConfig": {
           "taskType": "SegmentImportTask",
           "taskId": 
"Task_SegmentImportTask_196321ba-d997-480a-96c0-b195498f94a0_1697134812091_0",
           "tableName": "kafka_demo_OFFLINE",
           "configs": {
             "segmentNamePrefix": "kafka_demo",
             "downloadURL": 
"s3://sc-dev-pcp-dev-pinot-fs/sc-dev/managed/pinot/kafka_demo/kafka_demo__2__86__20231008T1646Z,s3://sc-dev-pcp-dev-pinot-fs/sc-dev/managed/pinot/kafka_demo/kafka_demo__2__87__20231009T1647Z,s3://sc-dev-pcp-dev-pinot-fs/sc-dev/managed/pinot/kafka_demo/kafka_demo__1__86__20231003T1426Z,s3://sc-dev-pcp-dev-pinot-fs/sc-dev/managed/pinot/kafka_demo/kafka_demo__3__86__20231003T1434Z,s3://sc-dev-pcp-dev-pinot-fs/sc-dev/managed/pinot/kafka_demo/kafka_demo__0__81__20230928T1434Z,s3://sc-dev-pcp-dev-pinot-fs/sc-dev/managed/pinot/kafka_demo/kafka_demo__2__88__20231010T1647Z,s3://sc-dev-pcp-dev-pinot-fs/sc-dev/managed/pinot/kafka_demo/kafka_demo__2__89__20231011T1647Z",
             "push.mode": "TAR",
             "sequenceId": "SegmentImportTask_1697134810874_0",
             "windowStartMs": "218419200000",
             "segmentName": 
"kafka_demo__2__86__20231008T1646Z,kafka_demo__2__87__20231009T1647Z,kafka_demo__1__86__20231003T1426Z,kafka_demo__3__86__20231003T1434Z,kafka_demo__0__81__20230928T1434Z,kafka_demo__2__88__20231010T1647Z,kafka_demo__2__89__20231011T1647Z",
             "segmentNamePostfix": "SegmentImportTask_1697134810874_0",
             "tableName": "kafka_demo_OFFLINE",
             "schedule": "0 20 * ? * * *",
             "uploadURL": 
"https://pinot-pinot-controller-0.pinot-pinot-controller-headless.managed.svc.cluster.local:9000/segments";,
             "push.controllerUri": 
"https://pinot-pinot-controller-0.pinot-pinot-controller-headless.managed.svc.cluster.local:9000";,
             "windowEndMs": "218505600000",
             "TASK_ID": 
"Task_SegmentImportTask_196321ba-d997-480a-96c0-b195498f94a0_1697134812091_0",
             "overwriteOutput": "false"
           }
         }
       }
     ]
   }
   ```


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