org.apache.hadoop.hbase.client
Class RetriesExhaustedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.hadoop.hbase.client.RetriesExhaustedException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- RetriesExhaustedWithDetailsException
public class RetriesExhaustedException
- extends IOException
Exception thrown by HTable methods when an attempt to do something (like
commit changes) fails after a bunch of retries.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
RetriesExhaustedException
public RetriesExhaustedException(String msg)
RetriesExhaustedException
public RetriesExhaustedException(String msg,
IOException e)
RetriesExhaustedException
public RetriesExhaustedException(String serverName,
byte[] regionName,
byte[] row,
int numTries,
List<Throwable> exceptions)
- Create a new RetriesExhaustedException from the list of prior failures.
- Parameters:
serverName
- name of HRegionServerregionName
- name of regionrow
- The row we were pursuing when we ran out of retriesnumTries
- The number of tries we madeexceptions
- List of exceptions that failed before giving up
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.