public class BlacklistTracker
extends Object
Constructor and Description |
---|
BlacklistTracker() |
Modifier and Type | Method and Description |
---|---|
static long |
getBlacklistTimeout(SparkConf conf) |
static boolean |
isBlacklistEnabled(SparkConf conf)
Returns true if the blacklist is enabled, based on checking the configuration in the following
order:
1.
|
static void |
validateBlacklistConfs(SparkConf conf)
Verify that blacklist configurations are consistent; if not, throw an exception.
|
public static boolean isBlacklistEnabled(SparkConf conf)
conf
- (undocumented)public static long getBlacklistTimeout(SparkConf conf)
public static void validateBlacklistConfs(SparkConf conf)
The configuration for the blacklist is expected to adhere to a few invariants. Default values follow these rules of course, but users may unwittingly change one configuration without making the corresponding adjustment elsewhere. This ensures we fail-fast when there are such misconfigurations.
conf
- (undocumented)