Package org.apache.hadoop.hbase
Class HadoopShimsImpl
java.lang.Object
org.apache.hadoop.hbase.HadoopShimsImpl
- All Implemented Interfaces:
HadoopShims
Compatibility shim layer implementation for Hadoop-2.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T,J> T createTestTaskAttemptContext(J job, String taskId) Returns a TaskAttemptContext instance created from the given parameters.
-
Constructor Details
-
HadoopShimsImpl
public HadoopShimsImpl()
-
-
Method Details
-
createTestTaskAttemptContext
Returns a TaskAttemptContext instance created from the given parameters.- Specified by:
createTestTaskAttemptContextin interfaceHadoopShims- Parameters:
job- an instance of o.a.h.mapreduce.JobtaskId- an identifier for the task attempt id. Should be parsable byTaskAttemptID.forName(String)- Returns:
- a concrete TaskAttemptContext instance of o.a.h.mapreduce.TaskAttemptContext
-