Open maver1ck opened 7 months ago
I'm pretty sure this is a race condition between Stdout and stderr listeners and HeartbeatUtils trying to read from not initialized streams.
Adding Thread.sleep(5000)
in this line solved my issue. But there should be something less hacky.
https://github.com/airbytehq/airbyte-platform/blob/7c5419626b4c285a4f0a842076e52b6324bfffe8/airbyte-commons-worker/src/main/java/io/airbyte/workers/process/KubePodProcess.java#L704
Are you still experiencing the issue @maver1ck ?
@marcosmarxm I have own clone of Airbyte with Thread.sleep(20000)
added. This works for me.
Have anything changed in the codebase to retry with new Airbyte version ?
index 89cb90dbd6..2d20bde27c 100644
--- a/airbyte-commons-worker/src/main/java/io/airbyte/workers/process/KubePodProcess.java
+++ b/airbyte-commons-worker/src/main/java/io/airbyte/workers/process/KubePodProcess.java
@@ -688,6 +688,9 @@ public class KubePodProcess implements KubePod {
LOGGER.info("Using null stdin output stream...");
this.stdin = NullOutputStream.NULL_OUTPUT_STREAM;
}
+ LOGGER.info("Sleeping 20sec");
+ Thread.sleep(20000);
+ LOGGER.info("Sleep ends");
} catch (final Exception e) {
// We need to make sure the ports are offered back
cleanup();
reproduced using helm chart version airbyte-0.148.1, app version 0.62.4 is there any workaround ?
@ogirardot Compile your own version of Airbyte with change from above included. But this is not a full solution.
Helm Chart Version
0.53.1
What step the error happened?
During the Sync
Revelant information
I'm trying to check MySQL destination. I'm getting NullPointerException in worker logs.
nation-mysql-check-bb960379-ba10-44d8-80c4-853fb4c62c70-0-piniu
is finishing properlyRelevant log output