Exemple #1
0
 public MockTaskImpl(TestTaskImpl _enclosing, JobId jobId, int partition, EventHandler
                     eventHandler, Path remoteJobConfFile, JobConf conf, TaskAttemptListener taskAttemptListener
                     , Org.Apache.Hadoop.Security.Token.Token <JobTokenIdentifier> jobToken, Credentials
                     credentials, Clock clock, int startCount, MRAppMetrics metrics, AppContext appContext
                     , TaskType taskType)
     : base(jobId, taskType, partition, eventHandler, remoteJobConfFile, conf, taskAttemptListener
            , jobToken, credentials, clock, startCount, metrics, appContext)
 {
     this._enclosing = _enclosing;
     this.taskType   = taskType;
 }
Exemple #2
0
 public MockTaskAttemptImpl(TestTaskImpl _enclosing, TaskId taskId, int id, EventHandler
                            eventHandler, TaskAttemptListener taskAttemptListener, Path jobFile, int partition
                            , JobConf conf, Org.Apache.Hadoop.Security.Token.Token <JobTokenIdentifier> jobToken
                            , Credentials credentials, Clock clock, AppContext appContext, TaskType taskType
                            )
     : base(taskId, id, eventHandler, taskAttemptListener, jobFile, partition, conf, this
            ._enclosing.dataLocations, jobToken, credentials, clock, appContext)
 {
     this._enclosing = _enclosing;
     this.taskType   = taskType;
 }
Exemple #3
0
 internal MockTask(TestTaskImpl _enclosing, TaskType taskType)
 {
     this._enclosing = _enclosing;
     this.taskType   = taskType;
 }