sajjad-moradi opened a new pull request #7428: URL: https://github.com/apache/pinot/pull/7428
## Description `FileUploadDownloadClient` uses a wrong field name to extract the error message from Entity of HttpResponse. This PR uses the correct field name. ## Testing Done Modified `OfflineClusterIntegrationTest` to generate a quota error. Error message before the fix: ``` Got error status code: 403 (Forbidden) with reason: "Failed to get reason" while sending request: http://localhost:18998/v2/segments?tableName=mytable ``` Error message after the fix: ``` Got error status code: 403 (Forbidden) with reason: "Quota check failed for segment: mytable_16374_16404_1 % of table: mytable_OFFLINE, reason: Storage quota exceeded for Table mytable_OFFLINE. New estimated size: 1.33M > total allowed storage size: 1K, where new estimated size = existing estimated uncompressed size of all replicas: 0B - existing segment sizes of all replicas: 0B + (incoming uncompressed segment size: 1.33M * number replicas: 1), total allowed storage size = configured quota: 1K * number replicas: 1" while sending request: http://localhost:18998/v2/segments?tableName=mytable -- 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]
