public class ZookeeperUtils extends Object
| Constructor and Description |
|---|
ZookeeperUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isKerberosEnabled(org.apache.hadoop.conf.Configuration conf)
Check if Kerberos authentication is enabled.
|
static String |
setupZookeeperAuth(org.apache.hadoop.conf.Configuration conf,
String saslLoginContextName,
String zkPrincipal,
String zkKeytab) |
public static String setupZookeeperAuth(org.apache.hadoop.conf.Configuration conf, String saslLoginContextName, String zkPrincipal, String zkKeytab) throws IOException
IOExceptionpublic static boolean isKerberosEnabled(org.apache.hadoop.conf.Configuration conf)
Copyright © 2024 The Apache Software Foundation. All rights reserved.