下面列出了怎么用org.apache.hadoop.mapred.JvmTask的API类实例代码及写法,或者点击链接到github查看源代码。
public JvmTask getTask(JvmContext context) throws IOException {
return null;
}
public JvmTask getTask(JVMId jvmId) throws IOException {
return null;
}
/**
* Called when a child task process starts, to get its task.
* @param context the JvmContext of the JVM w.r.t the TaskTracker that
* launched it
* @return Task object
* @throws IOException
*/
JvmTask getTask(JvmContext context) throws IOException;
/**
* Called when a child task process starts, to get its task.
* @param context the JvmContext of the JVM w.r.t the TaskTracker that
* launched it
* @return Task object
* @throws IOException
*/
JvmTask getTask(JvmContext context) throws IOException;
/**
* Called when a child task process starts, to get its task.
* @param context the JvmContext of the JVM w.r.t the TaskTracker that
* launched it
* @return Task object
* @throws IOException
*/
JvmTask getTask(JvmContext context) throws IOException;
/**
* Called when a child task process starts, to get its task.
* @param jvmId the ID of this JVM w.r.t the tasktracker that launched it
* @return Task object
* @throws IOException
*/
JvmTask getTask(JVMId jvmId) throws IOException;
public JvmTask getTask(JVMId jvmId) { return null; }