-
Couldn't load subscription status.
- Fork 9.1k
YARN-11338. Upgrade Junit 4 to 5 in hadoop-yarn-applications-unmanaged-am-launcher #4994
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
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
@aajisaka - Please help in reviewing the PR in your free time. Thanks. |
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.
Thank you @ashutoshcipher for your patch. Added 2 comments
| Assert.assertTrue(attemptState | ||
| .equals(YarnApplicationAttemptState.LAUNCHED)); | ||
| .getYarnApplicationAttemptState(); | ||
| assertEquals(attemptState, YarnApplicationAttemptState.LAUNCHED); |
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.
Could you reverse the order of the arguments? The order is expected, actual.
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.
addressed
| assertTrue("Web app address still unbound to a host at " + webapp, | ||
| !webapp.startsWith("0.0.0.0")); | ||
| LOG.info("Yarn webapp is at "+ webapp); | ||
| assertTrue(!webapp.startsWith("0.0.0.0"), |
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.
Would you replace with assertFalse(webapp.startsWith("0.0.0.0"), ...)?
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.
addressed
|
Thanks @aajisaka for reviewing and sharing your comments. I have addressed them in my latest commit. Please help in reviewing again. |
|
🎊 +1 overall
This message was automatically generated. |
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. Thank you @ashutoshcipher
…d-am-launcher (apache#4994) Co-authored-by: Ashutosh Gupta <[email protected]> Signed-off-by: Akira Ajisaka <[email protected]>
Description of PR
Upgrade Junit 4 to 5 in hadoop-yarn-applications-unmanaged-am-launcher
JIRA - YARN-11338
For code changes:
LICENSE,LICENSE-binary,NOTICE-binaryfiles?