lksvenoy-r7 opened a new pull request, #8802:
URL: https://github.com/apache/pinot/pull/8802
Fix bug in IngestionUtils where a list of segment URIs is converted to its
string list representation, when it should have been converting each URI to its
string representation.
Previously this code path would fail with
```
Caused by: java.net.URISyntaxException: Illegal character in path at index 0:
at java.base/java.net.URI$Parser.fail(URI.java:2913)
at java.base/java.net.URI$Parser.checkChars(URI.java:3084)
at java.base/java.net.URI$Parser.parseHierarchical(URI.java:3166)
at java.base/java.net.URI$Parser.parse(URI.java:3125)
at java.base/java.net.URI.<init>(URI.java:600)
at java.base/java.net.URI.create(URI.java:881)
... 19 more
```
At line 309 in SegmentPushUtils:
```
URI uri = URI.create(file);
if (uri.getPath().endsWith(Constants.TAR_GZ_FILE_EXT)) {
URI updatedURI =
SegmentPushUtils.generateSegmentTarURI(outputDirURI, uri,
pushSpec.getSegmentUriPrefix(),
pushSpec.getSegmentUriSuffix());
segmentUriToTarPathMap.put(updatedURI.toString(), file);
}
}
return segmentUriToTarPathMap;
```
--
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]