public Shuffle(ShuffleHandler _enclosing, Configuration conf) { this._enclosing = _enclosing; this.conf = conf; this.indexCache = new IndexCache(new JobConf(conf)); this.port = conf.GetInt(ShuffleHandler.ShufflePortConfigKey, ShuffleHandler.DefaultShufflePort ); }
/// <exception cref="System.Exception"/> public HttpPipelineFactory(ShuffleHandler _enclosing, Configuration conf) { this._enclosing = _enclosing; this.Shuffle = this._enclosing.GetShuffle(conf); if (conf.GetBoolean(MRConfig.ShuffleSslEnabledKey, MRConfig.ShuffleSslEnabledDefault )) { ShuffleHandler.Log.Info("Encrypted shuffle is enabled."); this.sslFactory = new SSLFactory(SSLFactory.Mode.Server, conf); this.sslFactory.Init(); } }
public ReduceMapFileCount(ShuffleHandler _enclosing, ShuffleHandler.ReduceContext rc) { this._enclosing = _enclosing; this.reduceContext = rc; }