@InterfaceAudience.Private @InterfaceStability.Evolving public class RegionMovedException extends NotServingRegionException
Constructor and Description |
---|
RegionMovedException(ServerName serverName,
long locationSeqNum) |
RegionMovedException(String s)
For hadoop.ipc internal call.
|
Modifier and Type | Method and Description |
---|---|
static RegionMovedException |
find(Object exception)
Look for a RegionMovedException in the exception:
- hadoop.ipc wrapped exceptions
- nested exceptions
Returns null if we didn't find the exception or if it was not readable.
|
String |
getHostname() |
long |
getLocationSeqNum() |
String |
getMessage() |
int |
getPort() |
ServerName |
getServerName() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public RegionMovedException(ServerName serverName, long locationSeqNum)
public RegionMovedException(String s)
getMessage()
public String getHostname()
public int getPort()
public ServerName getServerName()
public long getLocationSeqNum()
public String getMessage()
getMessage
in class Throwable
public static RegionMovedException find(Object exception)
Copyright © 2013 The Apache Software Foundation. All rights reserved.