public final class CsiConfigUtils extends Object
Modifier and Type | Method and Description |
---|---|
static InetSocketAddress |
getCsiAdaptorAddressForDriver(String driverName,
org.apache.hadoop.conf.Configuration conf)
Resolve the CSI adaptor address for a CSI driver from configuration.
|
static String |
getCsiDriverEndpoint(String driverName,
org.apache.hadoop.conf.Configuration conf) |
static String[] |
getCsiDriverNames(org.apache.hadoop.conf.Configuration conf) |
public static String[] getCsiDriverNames(org.apache.hadoop.conf.Configuration conf)
public static String getCsiDriverEndpoint(String driverName, org.apache.hadoop.conf.Configuration conf) throws YarnException
YarnException
public static InetSocketAddress getCsiAdaptorAddressForDriver(String driverName, org.apache.hadoop.conf.Configuration conf) throws YarnException
driverName
- conf
- YarnException
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.