hongkunxu opened a new pull request, #16434:
URL: https://github.com/apache/pinot/pull/16434

   The "Revert segments replacement" API requires update permission, so 
authentication information must be provided when invoking it. This PR adds the 
missing part; otherwise, an error will be thrown during the revert operation.
   ```
   25/07/24 12:39:39 INFO HttpClient: Sending request: 
https://pinot-controller-prod****.com/segments/wme_***/revertReplaceSegments?type=OFFLINE&segmentLineageEntryId=69210297-16a5-4641-bb86-bb32c13d3247&forceRevert=true
 to controller: 
pinot-controller-1.pinot-controller-headless.wap-pinot-prod-***fkgen-p-2, 
version: Unknown
   org.apache.pinot.common.exception.HttpErrorStatusException: Got error status 
code: 403 (Forbidden) with reason: "Permission is denied for UPDATE 
'/segments/wme_***/revertReplaceSegments' for table 'wme_mqsr_participant'" 
while sending request: 
https://pinot-controller-prod****.com/segments/wme_mqsr_participant/revertReplaceSegments?type=OFFLINE&segmentLineageEntryId=69210297-16a5-4641-bb86-bb32c13d3247&forceRevert=true
 to controller:  
pinot-controller-1.pinot-controller-headless.wap-pinot-prod-***fkgen-p-2, 
version: Unknown
   at 
org.apache.pinot.common.utils.http.HttpClient.wrapAndThrowHttpException(HttpClient.java:448)
   at 
org.apache.pinot.common.utils.FileUploadDownloadClient.revertReplaceSegments(FileUploadDownloadClient.java:1093)
   at 
org.apache.pinot.segment.local.utils.SegmentPushUtils.revertReplaceSegments(SegmentPushUtils.java:436)
   at 
org.apache.pinot.tools.admin.command.LaunchBackfillIngestionJobCommand.execute(LaunchBackfillIngestionJobCommand.java:180)
   ```


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