Skip to content

Conversation

@ankitkailaswar
Copy link

No description provided.

});
TTransport transport = null;
try {
transport = UserGroupInformation.getLoginUser().doAs(new PrivilegedAction<TTransport>() {
Copy link
Contributor

Choose a reason for hiding this comment

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

The field ugi in this class can be removed.

@Override
public void open() throws TTransportException {
try {
ugi.doAs(new PrivilegedExceptionAction<Void>() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above, the field ugi can be removed.

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