dongxiaoman opened a new issue #5957:
URL: https://github.com/apache/incubator-pinot/issues/5957


   In our log we can see the below log entry, and the copying is failing 
because of S3 is very strict on path. (Please note the double forward-slash in  
s3://some-bucket/somewhere/financial_data_warehouse/pinot **//** 
finance_edges_v2/
   ```
   Processing segmentCommitEndWithMetadata:Offset: 2390365,Segment name: 
finance_edges_v2__60__0__20200901T2239Z,Instance Id: 
Server_qa-pinotserver--074a11d399d562f3b.northwest.stripe.io_8098,Reason: 
null,NumRows: 1565,BuildTimeMillis: 579,WaitTimeMillis: 0,ExtraTimeSec: 
-1,SegmentLocation: 
s3://some-bucket/somewhere/financial_data_warehouse/pinot//finance_edges_v2/finance_edges_v2__60__0__20200901T2239Z.tmp.76bc8596-e7c5-471d-9e8d-37a05ce1e8b8,MemoryUsedBytes:
 0,SegmentSizeBytes: 306250,StreamPartitionMsgOffset: 2390365
   ```
   
   It is because in our config, we added a slash by accident; S3PinotFS should 
be a bit smart about this error, and maybe remove the trailing "/"?
   
`controller.data.dir=s3://somebucket/somepath/financial_data_warehouse/pinot/` 
(note the ending "/")
   After removing the ending "/" the error is gone, and the data can be 
persisted properly.


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

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