Class WhitelistBasedTrustedChannelResolver
java.lang.Object
org.apache.hadoop.hdfs.protocol.datatransfer.TrustedChannelResolver
org.apache.hadoop.hdfs.protocol.datatransfer.WhitelistBasedTrustedChannelResolver
- All Implemented Interfaces:
org.apache.hadoop.conf.Configurable
public class WhitelistBasedTrustedChannelResolver
extends org.apache.hadoop.hdfs.protocol.datatransfer.TrustedChannelResolver
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringPath to the file to containing subnets and ip addresses to form fixed whitelist.static final Stringtime in seconds by which the variable whitelist file is checked for updatesstatic final StringEnables/Disables variable whiteliststatic final StringPath to the file to containing subnets and ip addresses to form variable whitelist.static final StringPath to the file to containing subnets and ip addresses to form fixed whitelist.static final Stringtime in seconds by which the variable whitelist file is checked for updatesstatic final StringEnables/Disables variable whiteliststatic final StringPath to the file to containing subnets and ip addresses to form variable whitelist. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanisTrusted(InetAddress clientAddress) voidsetConf(org.apache.hadoop.conf.Configuration conf) Methods inherited from class org.apache.hadoop.hdfs.protocol.datatransfer.TrustedChannelResolver
getConf, getInstance
-
Field Details
-
DFS_DATATRANSFER_SERVER_FIXEDWHITELIST_FILE
Path to the file to containing subnets and ip addresses to form fixed whitelist.- See Also:
-
DFS_DATATRANSFER_SERVER_VARIABLEWHITELIST_ENABLE
Enables/Disables variable whitelist- See Also:
-
DFS_DATATRANSFER_SERVER_VARIABLEWHITELIST_FILE
Path to the file to containing subnets and ip addresses to form variable whitelist.- See Also:
-
DFS_DATATRANSFER_SERVER_VARIABLEWHITELIST_CACHE_SECS
time in seconds by which the variable whitelist file is checked for updates- See Also:
-
DFS_DATATRANSFER_CLIENT_FIXEDWHITELIST_FILE
Path to the file to containing subnets and ip addresses to form fixed whitelist.- See Also:
-
DFS_DATATRANSFER_CLIENT_VARIABLEWHITELIST_ENABLE
Enables/Disables variable whitelist- See Also:
-
DFS_DATATRANSFER_CLIENT_VARIABLEWHITELIST_FILE
Path to the file to containing subnets and ip addresses to form variable whitelist.- See Also:
-
DFS_DATATRANSFER_CLIENT_VARIABLEWHITELIST_CACHE_SECS
time in seconds by which the variable whitelist file is checked for updates- See Also:
-
-
Constructor Details
-
WhitelistBasedTrustedChannelResolver
public WhitelistBasedTrustedChannelResolver()
-
-
Method Details
-
setConf
public void setConf(org.apache.hadoop.conf.Configuration conf) - Specified by:
setConfin interfaceorg.apache.hadoop.conf.Configurable- Overrides:
setConfin classorg.apache.hadoop.hdfs.protocol.datatransfer.TrustedChannelResolver
-
isTrusted
public boolean isTrusted()- Overrides:
isTrustedin classorg.apache.hadoop.hdfs.protocol.datatransfer.TrustedChannelResolver
-
isTrusted
- Overrides:
isTrustedin classorg.apache.hadoop.hdfs.protocol.datatransfer.TrustedChannelResolver
-