-
Notifications
You must be signed in to change notification settings - Fork 351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Task]: Document how Pipelines using Stream Lookup can run into deadlock #3740
Comments
It's how the engine works, you are right it should be documented somewhere, and it isn't. |
.take-issue |
In the link, it is described how a deadlock can occur. It mentions that this happens when the main stream is split. My question specifically relates to the case of When using the merge join step, you get a pop-up indicating that you need to sort on the key before joining, otherwise errors may occur. Since sorting is required when using a merge join step, a deadlock shouldn't occur with 1.1) If such a case were to occur, how does it behave with the temporary
I would highly appreciate it if these questions could be addressed in the documentation to improve the overall understanding of deadlocks. Specifically, whether the order of files created by the blocking step is preserved, and whether a deadlock can occur at all during a correctly executed merge join. Final remark/question: |
added avoiding deadlocks with the stream lookup transform. #3740
Apache Hop version?
2.6, 2.7, 2.8
Java version?
OpenJDK 11
Operating system
Windows
What happened?
It turned out that the problem of pipelines running into a deadlock, which is described in
https://pentaho-public.atlassian.net/wiki/spaces/EAI/pages/386807182/Transformation+Deadlocks
, also affects Apache Hop 2.6-2.8.
I tested the “Blocking Example - Stream Lookup" and “Blocking Example - Stream Lookup - Workaround 2” in the examples zip attached under the above link, by simply importing it via the very handy import tool to Apache Hop.
I would suggest to either fix it (if possible) or add documentation for this behaviour (could not find any).
BTW: I also posted this to the users@hop.apache.org mailing list.
Issue Priority
Priority: 3
Issue Component
Component: Pipelines
The text was updated successfully, but these errors were encountered: