public class HadoopLoginUtil extends Object
| Constructor and Description |
|---|
HadoopLoginUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Subject |
loginHadoop(Map<String,Object> conf)
Login if a HDFS keytab/principal have been supplied;
otherwise, assume it's already logged in or running on insecure HDFS.
|
public static Subject loginHadoop(Map<String,Object> conf)
conf - the daemon confCopyright © 2023 The Apache Software Foundation. All rights reserved.