public class BlackListBasedTrustedChannelResolver
extends org.apache.hadoop.hdfs.protocol.datatransfer.TrustedChannelResolver
TrustedChannelResolver
 to trust ips/host/subnets based on a blackList.| Modifier and Type | Field and Description | 
|---|---|
| static String | DFS_DATATRANSFER_CLIENT_FIXED_BLACK_LIST_FILEPath to the file containing subnets and ip addresses to
 form fixed BlackList. | 
| static String | DFS_DATATRANSFER_CLIENT_VARIABLE_BLACK_LIST_CACHE_SECSTime in seconds after which the variable BlackList file is
 checked for updates. | 
| static String | DFS_DATATRANSFER_CLIENT_VARIABLE_BLACK_LIST_ENABLEEnables/Disables variable BlackList. | 
| static String | DFS_DATATRANSFER_CLIENT_VARIABLE_BLACK_LIST_FILEPath to the file to containing subnets and ip addresses to form variable
 BlackList. | 
| static String | DFS_DATATRANSFER_SERVER_FIXED_BLACK_LIST_FILEPath to the file containing subnets and ip addresses to form
 fixed BlackList. | 
| static String | DFS_DATATRANSFER_SERVER_VARIABLE_BLACK_LIST_CACHE_SECSTime in seconds after which the variable BlackList file is checked for
 updates. | 
| static String | DFS_DATATRANSFER_SERVER_VARIABLE_BLACK_LIST_ENABLEEnables/Disables variable BlackList. | 
| static String | DFS_DATATRANSFER_SERVER_VARIABLE_BLACK_LIST_FILEPath to the file containing subnets and ip addresses to form
 variable BlackList. | 
| Constructor and Description | 
|---|
| BlackListBasedTrustedChannelResolver() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | isTrusted() | 
| boolean | isTrusted(InetAddress clientAddress) | 
| void | setConf(org.apache.hadoop.conf.Configuration conf) | 
public static final String DFS_DATATRANSFER_SERVER_FIXED_BLACK_LIST_FILE
public static final String DFS_DATATRANSFER_SERVER_VARIABLE_BLACK_LIST_ENABLE
public static final String DFS_DATATRANSFER_SERVER_VARIABLE_BLACK_LIST_FILE
public static final String DFS_DATATRANSFER_SERVER_VARIABLE_BLACK_LIST_CACHE_SECS
public static final String DFS_DATATRANSFER_CLIENT_FIXED_BLACK_LIST_FILE
public static final String DFS_DATATRANSFER_CLIENT_VARIABLE_BLACK_LIST_ENABLE
public static final String DFS_DATATRANSFER_CLIENT_VARIABLE_BLACK_LIST_FILE
public static final String DFS_DATATRANSFER_CLIENT_VARIABLE_BLACK_LIST_CACHE_SECS
public BlackListBasedTrustedChannelResolver()
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf in interface org.apache.hadoop.conf.ConfigurablesetConf in class org.apache.hadoop.hdfs.protocol.datatransfer.TrustedChannelResolverpublic boolean isTrusted()
isTrusted in class org.apache.hadoop.hdfs.protocol.datatransfer.TrustedChannelResolverpublic boolean isTrusted(InetAddress clientAddress)
isTrusted in class org.apache.hadoop.hdfs.protocol.datatransfer.TrustedChannelResolverCopyright © 2008–2023 Apache Software Foundation. All rights reserved.