org.apache.hadoop.hbase.exceptions
Class RegionOpeningException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.apache.hadoop.hbase.NotServingRegionException
                  extended by 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

Constructor Summary
RegionOpeningException(String message)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RegionOpeningException

public RegionOpeningException(String message)
Method Detail

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.