mcvsubbu commented on a change in pull request #8200:
URL: https://github.com/apache/pinot/pull/8200#discussion_r815054322
##########
File path:
pinot-spi/src/main/java/org/apache/pinot/spi/filesystem/LocalPinotFS.java
##########
@@ -182,7 +182,7 @@ private static void copy(File srcFile, File dstFile,
boolean recursive)
FileUtils.copyDirectory(srcFile, dstFile);
} else {
// Throws Exception on failure
- throw new IOException(srcFile.getAbsolutePath() + " is a directory");
+ throw new IOException(srcFile.getAbsolutePath() + " is a directory and
recursive copy is not enabled.");
Review comment:
Thanks for clarifying the error message
--
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]