@InterfaceAudience.Private @InterfaceStability.Evolving public class RegionMovedException extends NotServingRegionException
Modifier and Type | Field and Description |
---|---|
private static String |
HOST_FIELD |
private String |
hostname |
private long |
locationSeqNum |
private static String |
LOCATIONSEQNUM_FIELD |
private static org.apache.commons.logging.Log |
LOG |
private int |
port |
private static String |
PORT_FIELD |
private static long |
serialVersionUID |
private long |
startCode |
private static String |
STARTCODE_FIELD |
Constructor and Description |
---|
RegionMovedException(ServerName serverName,
long locationSeqNum) |
RegionMovedException(String s)
For hadoop.ipc internal call.
|
Modifier and Type | Method and Description |
---|---|
String |
getHostname() |
long |
getLocationSeqNum() |
String |
getMessage() |
int |
getPort() |
ServerName |
getServerName() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
private static final org.apache.commons.logging.Log LOG
private static final long serialVersionUID
private final String hostname
private final int port
private final long startCode
private final long locationSeqNum
private static final String HOST_FIELD
private static final String PORT_FIELD
private static final String STARTCODE_FIELD
private static final String LOCATIONSEQNUM_FIELD
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
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.