|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.mapred.ShuffleExceptionTracker
public class ShuffleExceptionTracker
This class is used to track shuffle exceptions. It contains routines to check an exception that occurred while fetching the Map output to see if it matches what was configured. It also provides functions to keep track of the number of exceptions that occurred and if a limit is set, it will abort the TT. The limit is a percent of exceptions of the last X number of requests.
Field Summary | |
---|---|
static org.apache.commons.logging.Log |
LOG
|
Method Summary | |
---|---|
boolean |
checkException(IOException ie)
Parse the exception to see if it matches the regular expression you configured. |
protected void |
doAbort()
|
void |
exception()
Mark the request as an exception occurred. |
int |
getNumRequests()
Gets the number of requests we are tracking |
float |
getPercentExceptions()
Gets the percent of the requests that had exceptions occur. |
void |
success()
Mark the request as success. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final org.apache.commons.logging.Log LOG
Method Detail |
---|
public int getNumRequests()
public float getPercentExceptions()
public void success()
public void exception()
public boolean checkException(IOException ie)
ie
- - the shuffle exception that occurred
protected void doAbort()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |