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 HadoopShimsImpl()
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(String)Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.