Skip to content

Commit

Permalink
Use loginUser instead of currentUser in SimpleHadoopAuthentication
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaliang authored and arhimondr committed Apr 27, 2018
1 parent 9fcbe86 commit 22c1d74
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -25,7 +25,7 @@ public class SimpleHadoopAuthentication
public UserGroupInformation getUserGroupInformation()
{
try {
return UserGroupInformation.getCurrentUser();
return UserGroupInformation.getLoginUser();
}
catch (IOException e) {
throw new UncheckedIOException(e);
Expand Down

0 comments on commit 22c1d74

Please sign in to comment.