Skip to content

Upgrade Guava library to version 32.0.0-jre-userInterface pod#16161

Open
AbhishekKumar9984 wants to merge 2 commits into
cdapio:cs_guava_upgradefrom
cloudsufi:userInterface-cloudsufi-guava-upgrade
Open

Upgrade Guava library to version 32.0.0-jre-userInterface pod#16161
AbhishekKumar9984 wants to merge 2 commits into
cdapio:cs_guava_upgradefrom
cloudsufi:userInterface-cloudsufi-guava-upgrade

Conversation

@AbhishekKumar9984

Copy link
Copy Markdown

Updated the Guava dependency version in pom.xml to 32.0.0-jre.
Ensured compatibility with the upgraded Guava version.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request refactors service lifecycle management in StandaloneMain and its corresponding tests by replacing blocking startAndWait() and stopAndWait() calls with asynchronous startAsync().awaitRunning() and stopAsync().awaitTerminated() equivalents. Feedback highlights a critical bug in StandaloneMain where MessagingHttpService is incorrectly started during the shutdown sequence instead of being stopped. Additionally, the import statements in StandaloneMain were reordered out of alphabetical order, which should be reverted.

Comment thread cdap-standalone/src/main/java/io/cdap/cdap/StandaloneMain.java Outdated
Comment thread cdap-standalone/src/main/java/io/cdap/cdap/StandaloneMain.java
@@ -370,7 +370,7 @@ public void shutDown() {
}

// TODO: CDAP-7688, remove next line after the issue is resolved

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the start() method call was related to above code comment pointing to CDAP-7688. Can you please once verify if the start() was actually needed as per above comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants