Package org.apache.hadoop.hbase.client
Class RetriesExhaustedWithDetailsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.hadoop.hbase.client.RetriesExhaustedException
org.apache.hadoop.hbase.client.RetriesExhaustedWithDetailsException
- All Implemented Interfaces:
Serializable
This subclass of
RetriesExhaustedException
is thrown when
we have more information about which rows were causing which exceptions on what servers. You can
call mayHaveClusterIssues()
and if the result is false, you have input error problems,
otherwise you may have cluster issues. You can iterate over the causes, rows and last known
server addresses via getNumExceptions()
and getCause(int)
, getRow(int)
and getHostnamePort(int)
.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.client.RetriesExhaustedException
RetriesExhaustedException.ThrowableWithExtraContext
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclassifyExs
(List<Throwable> ths) getCause
(int i) static String
static String
getHostnamePort
(int i) int
getRow
(int i) boolean
static String
pluralize
(int c) static String
pluralize
(Collection<?> c) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
exceptions
-
actions
-
hostnameAndPort
-
-
Constructor Details
-
RetriesExhaustedWithDetailsException
-
RetriesExhaustedWithDetailsException
-
RetriesExhaustedWithDetailsException
-
-
Method Details
-
getCauses
-
getNumExceptions
-
getCause
-
getRow
-
getHostnamePort
-
mayHaveClusterIssues
-
pluralize
-
pluralize
-
getDesc
-
getExhaustiveDescription
-
classifyExs
-
getDesc
-