chunjun icon indicating copy to clipboard operation
chunjun copied to clipboard

修复部分插件kerberos验证bug

Open hellochueng opened this issue 4 years ago • 0 comments

修复file,hive,hbase中调用KerberosUtil.loginAndReturnUgi参数传错bug 方法参数如下 public static UserGroupInformation loginAndReturnUgi(String principal, String keytab, String krb5Conf) hbase中调用 return KerberosUtil.loginAndReturnUgi(conf.get(KerberosUtil.KEY_PRINCIPAL_FILE), principal, keytabFileName); FileSystemUtil调用 return KerberosUtil.loginAndReturnUgi(getConfiguration(hadoopConfig, defaultFs).get((KerberosUtil.KEY_PRINCIPAL_FILE)),principal,keytabFileName); 等调用参数明显传错

hellochueng avatar Oct 20 '21 06:10 hellochueng