wombatu-kun commented on code in PR #12772:
URL: https://github.com/apache/hudi/pull/12772#discussion_r2086301786
##########
hudi-utilities/src/test/java/org/apache/hudi/utilities/sources/TestJsonDFSSource.java:
##########
@@ -93,7 +94,17 @@ public void testCorruptedSourceFile() throws IOException {
}
protected void corruptFile(Path path) throws IOException {
- PrintStream os = new PrintStream(fs.appendFile(path).build());
+ PrintStream os;
+ try {
+ os = new PrintStream(fs.appendFile(path).build());
+ } catch (UnsupportedOperationException uoe) {
+ if (fs instanceof ProxyLocalFileSystem) {
Review Comment:
i don't know, reverted it
--
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]