walterddr commented on code in PR #11132:
URL: https://github.com/apache/pinot/pull/11132#discussion_r1270911318
##########
pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/LLCSegmentCompletionHandlers.java:
##########
@@ -448,8 +448,10 @@ private static File
extractSegmentFromFormToLocalTempFile(FormDataMultiPart form
"Invalid multi-part for segment: %s", segmentName);
FormDataBodyPart bodyPart = map.values().iterator().next().get(0);
- File localTempFile = new
File(ControllerFilePathProvider.getInstance().getFileUploadTempDir(),
- getTempSegmentFileName(segmentName));
+ File localTempFile =
org.apache.pinot.common.utils.FileUtils.concatAndValidateFile(
Review Comment:
unfortunately this class already imported common-io FileUtils. it has to use
fully qualified package name
--
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]