s4iko commented on issue #19384:
URL: https://github.com/apache/pinot/issues/19384#issuecomment-5475227634
Yep, here is what I saw:
`SegmentUriPushJobRunner` extends `BaseSegmentPushJobRunner`.
The method called to run the job is `BaseSegmentPushJobRunner.run()`.
In this method, there is a call to
`SegmentPushUtils.getSegmentUriToTarPathMap(_outputDirURI,
_spec.getPushJobSpec(), _files);` to get the segments to upload via
`uploadSegments(segmentsUriToTarPathMap);`.
This util method return only the URIs ending with `.tar.gz`:
```
if (uri.getPath().endsWith(Constants.TAR_GZ_FILE_EXT)) {
URI updatedURI =
SegmentPushUtils.generateSegmentTarURI(outputDirURI, uri,
pushSpec.getSegmentUriPrefix(),
pushSpec.getSegmentUriSuffix());
segmentUriToTarPathMap.put(updatedURI.toString(), file);
}
```
Ref:
-
https://github.com/apache/pinot/blob/5e914c979b355c0e8c9fd4cd6f401f5f899594b5/pinot-plugins/pinot-batch-ingestion/pinot-batch-ingestion-standalone/src/main/java/org/apache/pinot/plugin/ingestion/batch/standalone/SegmentUriPushJobRunner.java#L30
-
https://github.com/apache/pinot/blob/5e914c979b355c0e8c9fd4cd6f401f5f899594b5/pinot-plugins/pinot-batch-ingestion/pinot-batch-ingestion-common/src/main/java/org/apache/pinot/plugin/ingestion/batch/common/BaseSegmentPushJobRunner.java#L138
-
https://github.com/apache/pinot/blob/5e914c979b355c0e8c9fd4cd6f401f5f899594b5/pinot-segment-local/src/main/java/org/apache/pinot/segment/local/utils/SegmentPushUtils.java#L651
--
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]