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-3538 Add Meter for sendSupervisorAssignments exception #3167

Merged
merged 1 commit into from Nov 19, 2019

Conversation

dandsager1
Copy link
Contributor

No description provided.

@@ -1654,6 +1657,10 @@ private AssignmentDistributionService getAssignmentsDistributer() {
return assignmentsDistributer;
}

private StormMetricsRegistry getMetricsRegistry() {
Copy link
Contributor

Choose a reason for hiding this comment

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

This seems redundant since it is private. Any real reason for having this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's used to access class member in static methods in the same way nimbus.getAssignmentsDistributer().

I'm fine with using the member directly but then should do the same with getAssignmentsDistributer()

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks. I missed that.

@agresch agresch merged commit 5786bb0 into apache:master Nov 19, 2019
@dandsager1 dandsager1 deleted the STORM-3538 branch November 19, 2019 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants