public class StormClient extends Object
| Constructor and Description |
|---|
StormClient(String aStormUIUrl,
String aUserName,
String aPassword,
String lookupPrincipal,
String lookupKeytab,
String nameRules) |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,Object> |
connectionTest(String serviceName,
Map<String,String> configs) |
static <T> T |
executeUnderKerberos(String userName,
String password,
String lookupPrincipal,
String lookupKeytab,
String nameRules,
PrivilegedExceptionAction<T> action) |
static StormClient |
getStormClient(String serviceName,
Map<String,String> configs) |
static List<String> |
getStormResources(StormClient stormClient,
String topologyName,
List<String> stormTopologyList) |
List<String> |
getTopologyList(String topologyNameMatching,
List<String> stormTopologyList) |
public List<String> getTopologyList(String topologyNameMatching, List<String> stormTopologyList)
public static <T> T executeUnderKerberos(String userName, String password, String lookupPrincipal, String lookupKeytab, String nameRules, PrivilegedExceptionAction<T> action) throws IOException
IOExceptionpublic static Map<String,Object> connectionTest(String serviceName, Map<String,String> configs)
public static StormClient getStormClient(String serviceName, Map<String,String> configs)
Copyright © 2025 The Apache Software Foundation. All rights reserved.