-
Notifications
You must be signed in to change notification settings - Fork 9.2k
YARN-11782. [Federation] Fix incorrect error messages and improve failure handling. #7449
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
Conversation
|
@ayushtkn @TaoYang526 Could you please review this PR? Thank you very much! This is a minor issue. When the |
cnauroth
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 pending successful pre-submit.
The changes make sense to me, but I'm curious to know why the JUnit 5 upgrade revealed this problem. I'd expect if there was an assertion on these test messages, then they would have failed in JUnit 4 too.
@cnauroth Thank you very much for reviewing the code! I was able to reproduce the issue by running the unit tests with Junit4 locally, but Yetus did not detect it. For a long time, the YARN module used a mix of Junit4 and Junit5, and this mixed approach may have caused the maven-surefire-plugin to not filter out the problematic unit tests. However, once we fully upgraded to Junit5, the exceptions in the unit tests were exposed. |
zhtttylz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1,LGTM @slfan1989
That's very interesting! Do you think it indicates a Yetus bug? If so, please file a bug against that project. To be clear, I am still +1 on this patch, and thank you! |
ayushtkn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
💔 -1 overall
This message was automatically generated. |
…lure handling. (apache#7449) Co-authored-by: Ayush Saxena <ayushsaxena@apache.org> Co-authored-by: Chris Nauroth <cnauroth@apache.org> Co-authored-by: Hualong Zhang <hualong.z@hotmail.com> Reviewed-by: Ayush Saxena <ayushsaxena@apache.org> Reviewed-by: Chris Nauroth <cnauroth@apache.org> Reviewed-by: Hualong Zhang <hualong.z@hotmail.com> Signed-off-by: Shilun Fan <slfan1989@apache.org>
Description of PR
JIRA: YARN-11782. [Federation] Fix incorrect error messages and improve failure handling.
While upgrading the JUnit tests for the yarn router module, I encountered some test failures. One of the errors was due to incorrect error messages. I will fix the incorrect error messages in this JIRA.
How was this patch tested?
Unit tests are not required.
For code changes:
LICENSE,LICENSE-binary,NOTICE-binaryfiles?