org.apache.storm.hdfs.common.security
Class HdfsSecurityUtil

java.lang.Object
  extended by org.apache.storm.hdfs.common.security.HdfsSecurityUtil

public class HdfsSecurityUtil
extends Object

This class provides util methods for storm-hdfs connector communicating with secured HDFS.


Field Summary
static String STORM_KEYTAB_FILE_KEY
           
static String STORM_USER_NAME_KEY
           
 
Constructor Summary
HdfsSecurityUtil()
           
 
Method Summary
static void login(Map conf, org.apache.hadoop.conf.Configuration hdfsConfig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STORM_KEYTAB_FILE_KEY

public static final String STORM_KEYTAB_FILE_KEY
See Also:
Constant Field Values

STORM_USER_NAME_KEY

public static final String STORM_USER_NAME_KEY
See Also:
Constant Field Values
Constructor Detail

HdfsSecurityUtil

public HdfsSecurityUtil()
Method Detail

login

public static void login(Map conf,
                         org.apache.hadoop.conf.Configuration hdfsConfig)
                  throws IOException
Throws:
IOException


Copyright © 2016 The Apache Software Foundation. All Rights Reserved.