@InterfaceAudience.Private public final class RpcConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.collect.ImmutableSet<String> |
HIVE_SPARK_RSC_CONFIGS |
static com.google.common.collect.ImmutableSet<String> |
HIVE_SPARK_TIME_CONFIGS |
static String |
RPC_SASL_OPT_PREFIX
Prefix for other SASL options.
|
| Constructor and Description |
|---|
RpcConfiguration(Map<String,String> config) |
| Modifier and Type | Method and Description |
|---|---|
int |
getRpcThreadCount() |
static String |
getValue(HiveConf conf,
String key)
Utility method for a given RpcConfiguration key, to convert value to millisecond if it is a time value,
and return as string in either case.
|
public static final com.google.common.collect.ImmutableSet<String> HIVE_SPARK_RSC_CONFIGS
public static final com.google.common.collect.ImmutableSet<String> HIVE_SPARK_TIME_CONFIGS
public static final String RPC_SASL_OPT_PREFIX
public int getRpcThreadCount()
public static String getValue(HiveConf conf, String key)
conf - hive configurationkey - Rpc configuration to lookup (hive.spark.*)Copyright © 2019 The Apache Software Foundation. All Rights Reserved.