Ma77Ball opened a new pull request, #9442:
URL: https://github.com/apache/texera/pull/9442

   ### What changes were proposed in this PR?
   - ResourceUploadService.uploadOneFile now PUTs multipart parts through the 
internal S3 client (S3StorageClient.uploadPartWithRequest against 
STORAGE_S3_ENDPOINT) at the resolved physical address, instead of the LakeFS 
browser-facing presigned URLs that file-service cannot reach from inside its 
container.
   - The presigned multipart initiate and complete calls 
(initiatePresignedMultipartUploads, completePresignedMultipartUploads) are kept 
so LakeFS still tracks the upload; only the part transfer is redirected to the 
internal endpoint.
   - Adds parsePhysicalAddress to resolve the backing object store location for 
each part.
   ### Any related issues, documentation, discussions?
   Closes: #9437
   ### How was this PR tested?
   - Run `sbt "FileService/testOnly *DatasetResourceSpec"` and confirm it 
passes.
   - On the single-node stack, create a dataset and upload a file via POST 
/dataset/{did}/upload; expect HTTP 200 and the file present in the dataset, 
where before the part PUT failed with Connection refused and the upload 
returned 500.
   ### Was this PR authored or co-authored using generative AI tooling?
   Co-authored with Claude Opus 4.8 in compliance with ASF
   


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

Reply via email to