public TestMRApp(TestStagingCleanup _enclosing, ApplicationAttemptId applicationAttemptId , ContainerAllocator allocator, JobStateInternal jobStateInternal, int maxAppAttempts ) : this(applicationAttemptId, allocator) { this._enclosing = _enclosing; this.jobStateInternal = jobStateInternal; }
public MRAppTestCleanup(TestStagingCleanup _enclosing, int maps, int reduces, bool autoComplete, string testName, bool cleanOnStart) : base(maps, reduces, autoComplete, testName, cleanOnStart) { this._enclosing = _enclosing; this.stagingDirCleanedup = 0; this.ContainerAllocatorStopped = 0; this.numStops = 0; }
public TestMRApp(TestStagingCleanup _enclosing, ApplicationAttemptId applicationAttemptId , ContainerAllocator allocator) : base(applicationAttemptId, ContainerId.NewContainerId(applicationAttemptId, 1), "testhost", 2222, 3333, Runtime.CurrentTimeMillis()) { this._enclosing = _enclosing; this.allocator = allocator; this.successfullyUnregistered.Set(true); }
protected internal override RMHeartbeatHandler GetRMHeartbeatHandler() { return(TestStagingCleanup.GetStubbedHeartbeatHandler(this.GetContext())); }