public interface HadoopShims
Modifier and Type | Method and Description |
---|---|
<T,J> T |
createTestTaskAttemptContext(J job,
String taskId)
Returns a TaskAttemptContext instance created from the given parameters.
|
<T,J> T createTestTaskAttemptContext(J job, String taskId)
job
- an instance of o.a.h.mapreduce.JobtaskId
- an identifier for the task attempt id. Should be parsable by
TaskAttemptId.forName()Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.