Skip to content
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

[STORM-1899] Release HBase connection when topology shutdown #1485

Merged
merged 1 commit into from
Jul 8, 2016

Conversation

darionyaphet
Copy link
Contributor

STORM-1899

Release HBase connection when topology shutdown

try {
hBaseClient.close();
} catch (IOException e) {
LOG.error("HBase Client Close Failed");
Copy link
Contributor

Choose a reason for hiding this comment

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

add the exception as well in log statement.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

update and rebased 👍

@abhishekagarwal87
Copy link
Contributor

+1

@HeartSaVioR
Copy link
Contributor

While Storm doesn't guarantee that cleanup() will be called during shutdown, it will be better than now.
+1

@asfgit asfgit merged commit 82b1ad0 into apache:master Jul 8, 2016
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.

4 participants