Package org.apache.hadoop.mapred
Class ShuffleChannelHandlerContext
java.lang.Object
org.apache.hadoop.mapred.ShuffleChannelHandlerContext
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal AtomicIntegerfinal io.netty.channel.group.ChannelGroupfinal org.apache.hadoop.conf.Configurationfinal booleanfinal intfinal org.apache.hadoop.mapred.IndexCachefinal booleanShould the shuffle use posix_fadvise calls to manage the OS cache during sendfile.final intfinal intfinal intfinal org.apache.hadoop.mapred.ShuffleHandler.ShuffleMetricsfinal org.apache.hadoop.thirdparty.com.google.common.cache.LoadingCache<org.apache.hadoop.mapred.ShuffleHandler.AttemptPathIdentifier,org.apache.hadoop.mapred.ShuffleHandler.AttemptPathInfo> intfinal intfinal org.apache.hadoop.io.ReadaheadPoolfinal org.apache.hadoop.mapreduce.security.token.JobTokenSecretManagerfinal intfinal booleanfinal int -
Constructor Summary
ConstructorsConstructorDescriptionShuffleChannelHandlerContext(org.apache.hadoop.conf.Configuration conf, Map<String, String> userRsrc, org.apache.hadoop.mapreduce.security.token.JobTokenSecretManager secretManager, org.apache.hadoop.thirdparty.com.google.common.cache.LoadingCache<org.apache.hadoop.mapred.ShuffleHandler.AttemptPathIdentifier, org.apache.hadoop.mapred.ShuffleHandler.AttemptPathInfo> patCache, org.apache.hadoop.mapred.IndexCache indexCache, org.apache.hadoop.mapred.ShuffleHandler.ShuffleMetrics metrics, io.netty.channel.group.ChannelGroup allChannels) -
Method Summary
-
Field Details
-
conf
public final org.apache.hadoop.conf.Configuration conf -
secretManager
public final org.apache.hadoop.mapreduce.security.token.JobTokenSecretManager secretManager -
userRsrc
-
pathCache
public final org.apache.hadoop.thirdparty.com.google.common.cache.LoadingCache<org.apache.hadoop.mapred.ShuffleHandler.AttemptPathIdentifier,org.apache.hadoop.mapred.ShuffleHandler.AttemptPathInfo> pathCache -
indexCache
public final org.apache.hadoop.mapred.IndexCache indexCache -
metrics
public final org.apache.hadoop.mapred.ShuffleHandler.ShuffleMetrics metrics -
allChannels
public final io.netty.channel.group.ChannelGroup allChannels -
connectionKeepAliveEnabled
public final boolean connectionKeepAliveEnabled -
sslFileBufferSize
public final int sslFileBufferSize -
connectionKeepAliveTimeOut
public final int connectionKeepAliveTimeOut -
mapOutputMetaInfoCacheSize
public final int mapOutputMetaInfoCacheSize -
activeConnections
-
manageOsCache
public final boolean manageOsCacheShould the shuffle use posix_fadvise calls to manage the OS cache during sendfile. -
readaheadLength
public final int readaheadLength -
maxShuffleConnections
public final int maxShuffleConnections -
shuffleBufferSize
public final int shuffleBufferSize -
shuffleTransferToAllowed
public final boolean shuffleTransferToAllowed -
maxSessionOpenFiles
public final int maxSessionOpenFiles -
readaheadPool
public final org.apache.hadoop.io.ReadaheadPool readaheadPool -
port
public int port
-
-
Constructor Details
-
ShuffleChannelHandlerContext
public ShuffleChannelHandlerContext(org.apache.hadoop.conf.Configuration conf, Map<String, String> userRsrc, org.apache.hadoop.mapreduce.security.token.JobTokenSecretManager secretManager, org.apache.hadoop.thirdparty.com.google.common.cache.LoadingCache<org.apache.hadoop.mapred.ShuffleHandler.AttemptPathIdentifier, org.apache.hadoop.mapred.ShuffleHandler.AttemptPathInfo> patCache, org.apache.hadoop.mapred.IndexCache indexCache, org.apache.hadoop.mapred.ShuffleHandler.ShuffleMetrics metrics, io.netty.channel.group.ChannelGroup allChannels)
-