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
IOException
public static boolean isKerberosEnabled(org.apache.hadoop.conf.Configuration conf)
Copyright © 2022 The Apache Software Foundation. All rights reserved.