org.apache.hadoop.hbase.exceptions
Class RegionOpeningException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.hadoop.hbase.NotServingRegionException
org.apache.hadoop.hbase.exceptions.RegionOpeningException
- All Implemented Interfaces:
- Serializable
@InterfaceAudience.Private
@InterfaceStability.Evolving
public class RegionOpeningException
- extends NotServingRegionException
Subclass if the server knows the region is now on another server.
This allows the client to call the new region server without calling the master.
- See Also:
- Serialized Form
Method Summary |
static RegionOpeningException |
find(Object exception)
Look for a RegionOpeningException in the exception:
- hadoop.ipc wrapped exceptions
- nested exceptions
Returns null if we didn't find the exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
RegionOpeningException
public RegionOpeningException(String message)
find
public static RegionOpeningException find(Object exception)
- Look for a RegionOpeningException in the exception:
- hadoop.ipc wrapped exceptions
- nested exceptions
Returns null if we didn't find the exception.
TODO: this code is mostly C/Ped from RegionMovedExecption. Due to the limitations of
generics it's not amenable to generalizing without adding parameters/isAssignableFrom.
Might make general if used in more places.
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.