public class HdfsSecurityUtil extends Object
This class provides util methods for storm-hdfs connector communicating with secured HDFS.
Modifier and Type | Field and Description |
---|---|
static String |
HDFS_CREDENTIALS_CONFIG_KEYS |
static String |
STORM_KEYTAB_FILE_KEY |
static String |
STORM_USER_NAME_KEY |
Constructor and Description |
---|
HdfsSecurityUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
login(Map conf,
org.apache.hadoop.conf.Configuration hdfsConfig) |
public static final String STORM_KEYTAB_FILE_KEY
public static final String STORM_USER_NAME_KEY
public static final String HDFS_CREDENTIALS_CONFIG_KEYS
public static void login(Map conf, org.apache.hadoop.conf.Configuration hdfsConfig) throws IOException
IOException
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.