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
HBASE-24174 Fix findbugs warning on ServiceAuthorizationManager for master branch #1537
Conversation
💔 -1 overall
This message was automatically generated. |
@@ -597,7 +592,7 @@ public void addCallSize(final long diff) { | |||
* @param addr InetAddress of incoming connection | |||
* @throws AuthorizationException when the client isn't authorized to talk the protocol | |||
*/ | |||
public void authorize(UserGroupInformation user, ConnectionHeader connection, | |||
public synchronized void authorize(UserGroupInformation user, ConnectionHeader connection, |
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.
Add synchronized to this method, the " synchronized (authManager) { } " in the method can removed?
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.
Oh yes, should do. Will fix in next commit.
LGTM, let see the QA report. |
💔 -1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
🎊 +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.
+1, pending QA
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
…aster branch (apache#1537) Signed-off-by: binlijin <binlijin@gmail.com> Signed-off-by: Viraj Jasani <vjasani@apache.org>
No description provided.