We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35205ac commit db353c5Copy full SHA for db353c5
flinkx-core/src/main/java/com/dtstack/flinkx/util/FileSystemUtil.java
@@ -69,6 +69,8 @@ public static void setHadoopUserName(Configuration conf){
69
}
70
71
try {
72
+ String previousUserName = UserGroupInformation.getLoginUser().getUserName();
73
+ LOG.info("Hadoop user from '{}' switch to '{}' with SIMPLE auth", previousUserName, hadoopUserName);
74
UserGroupInformation ugi = UserGroupInformation.createRemoteUser(hadoopUserName);
75
UserGroupInformation.setLoginUser(ugi);
76
} catch (Exception e) {
0 commit comments