Beispiel #1
0
			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
					);
			}
Beispiel #2
0
			/// <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();
				}
			}
Beispiel #3
0
			public ReduceMapFileCount(ShuffleHandler _enclosing, ShuffleHandler.ReduceContext
				 rc)
			{
				this._enclosing = _enclosing;
				this.reduceContext = rc;
			}