Exemplo n.º 1
0
 public TestMRApp(TestStagingCleanup _enclosing, ApplicationAttemptId applicationAttemptId
                  , ContainerAllocator allocator, JobStateInternal jobStateInternal, int maxAppAttempts
                  )
     : this(applicationAttemptId, allocator)
 {
     this._enclosing       = _enclosing;
     this.jobStateInternal = jobStateInternal;
 }
Exemplo n.º 2
0
 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;
 }
Exemplo n.º 3
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);
 }
Exemplo n.º 4
0
 protected internal override RMHeartbeatHandler GetRMHeartbeatHandler()
 {
     return(TestStagingCleanup.GetStubbedHeartbeatHandler(this.GetContext()));
 }