public class AbortedFetchException extends BaseFetchException implements org.apache.hadoop.io.WritableComparable<AbortedFetchException>
Constructor and Description |
---|
AbortedFetchException() |
AbortedFetchException(java.lang.String url,
AbortedFetchReason abortReason) |
AbortedFetchException(java.lang.String url,
java.lang.String msg,
AbortedFetchReason abortReason) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(AbortedFetchException e) |
AbortedFetchReason |
getAbortReason() |
UrlStatus |
mapToUrlStatus() |
void |
readFields(java.io.DataInput input) |
void |
write(java.io.DataOutput output) |
compareToBase, getCause, getLocalizedMessage, getMessage, getUrl, readBaseFields, toString, writeBaseFields
public AbortedFetchException()
public AbortedFetchException(java.lang.String url, AbortedFetchReason abortReason)
public AbortedFetchException(java.lang.String url, java.lang.String msg, AbortedFetchReason abortReason)
public AbortedFetchReason getAbortReason()
public UrlStatus mapToUrlStatus()
mapToUrlStatus
in class BaseFetchException
public void readFields(java.io.DataInput input) throws java.io.IOException
readFields
in interface org.apache.hadoop.io.Writable
java.io.IOException
public void write(java.io.DataOutput output) throws java.io.IOException
write
in interface org.apache.hadoop.io.Writable
java.io.IOException
public int compareTo(AbortedFetchException e)
compareTo
in interface java.lang.Comparable<AbortedFetchException>
Copyright © 2012 Bixo Labs