public class HadoopShimsImpl extends Object implements HadoopShims
| Constructor and Description |
|---|
HadoopShimsImpl() |
| Modifier and Type | Method and Description |
|---|---|
<T,J> T |
createTestTaskAttemptContext(J job,
String taskId)
Returns a TaskAttemptContext instance created from the given parameters.
|
public <T,J> T createTestTaskAttemptContext(J job,
String taskId)
createTestTaskAttemptContext in interface HadoopShimsjob - an instance of o.a.h.mapreduce.JobtaskId - an identifier for the task attempt id. Should be parsable by
TaskAttemptId.forName()