You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "davidradl (via GitHub)" <gi...@apache.org> on 2025/06/09 13:59:17 UTC
Re: [PR] [Flink-37703][hadoop] Add more log info to locate the root cause of failed HadoopRecoverableWriterTest#testRecoverFromIntermWithoutAdditionalState in azure cron pipeline [flink]
davidradl commented on code in PR #26646:
URL: https://github.com/apache/flink/pull/26646#discussion_r2135779018
##########
flink-core/src/test/java/org/apache/flink/core/fs/AbstractRecoverableWriterTest.java:
##########
@@ -196,16 +200,29 @@ private void testResumeAfterMultiplePersist(
final Map<String, RecoverableWriter.ResumeRecoverable> recoverables = new HashMap<>(4);
RecoverableFsDataOutputStream stream = null;
try {
- stream = initWriter.open(path);
- recoverables.put(INIT_EMPTY_PERSIST, stream.persist());
-
- stream.write(testData1.getBytes(StandardCharsets.UTF_8));
-
- recoverables.put(INTERM_WITH_STATE_PERSIST, stream.persist());
- recoverables.put(INTERM_WITH_NO_ADDITIONAL_STATE_PERSIST, stream.persist());
-
- // and write some more data
- stream.write(testData2.getBytes(StandardCharsets.UTF_8));
+ // This is just for locate the root cause:
Review Comment:
nit: This is just for locate the root cause: -> This is just to provide diagnostics to locate the root cause:
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org