public class CommitterEventHandler extends org.apache.hadoop.service.AbstractService implements org.apache.hadoop.yarn.event.EventHandler<CommitterEvent>
Constructor and Description |
---|
CommitterEventHandler(AppContext context,
org.apache.hadoop.mapreduce.OutputCommitter committer,
RMHeartbeatHandler rmHeartbeatHandler) |
CommitterEventHandler(AppContext context,
org.apache.hadoop.mapreduce.OutputCommitter committer,
RMHeartbeatHandler rmHeartbeatHandler,
ClassLoader jobClassLoader) |
Modifier and Type | Method and Description |
---|---|
void |
handle(CommitterEvent event) |
protected void |
serviceInit(org.apache.hadoop.conf.Configuration conf) |
protected void |
serviceStart() |
protected void |
serviceStop() |
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, setConfig, start, stop, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStop
public CommitterEventHandler(AppContext context, org.apache.hadoop.mapreduce.OutputCommitter committer, RMHeartbeatHandler rmHeartbeatHandler)
public CommitterEventHandler(AppContext context, org.apache.hadoop.mapreduce.OutputCommitter committer, RMHeartbeatHandler rmHeartbeatHandler, ClassLoader jobClassLoader)
protected void serviceInit(org.apache.hadoop.conf.Configuration conf) throws Exception
serviceInit
in class org.apache.hadoop.service.AbstractService
Exception
protected void serviceStart() throws Exception
serviceStart
in class org.apache.hadoop.service.AbstractService
Exception
public void handle(CommitterEvent event)
handle
in interface org.apache.hadoop.yarn.event.EventHandler<CommitterEvent>
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.