Package org.apache.hadoop.hbase
Interface HadoopShims
- All Known Implementing Classes:
 HadoopShimsImpl
public interface HadoopShims
A compatibility shim layer for interacting with different versions of Hadoop.
- 
Method Summary
Modifier and TypeMethodDescription<T,J> T createTestTaskAttemptContext(J job, String taskId) Returns a TaskAttemptContext instance created from the given parameters. 
- 
Method Details
- 
createTestTaskAttemptContext
Returns a TaskAttemptContext instance created from the given parameters.- Parameters:
 job- an instance of o.a.h.mapreduce.JobtaskId- an identifier for the task attempt id. Should be parsable by TaskAttemptId.forName()- Returns:
 - a concrete TaskAttemptContext instance of o.a.h.mapreduce.TaskAttemptContext
 
 
 -