Class RegionMovedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.apache.hadoop.hbase.NotServingRegionException
org.apache.hadoop.hbase.exceptions.RegionMovedException
- All Implemented Interfaces:
Serializable
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:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionFor hadoop.ipc internal call.RegionMovedException
(ServerName serverName, long locationSeqNum) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
LOG
-
serialVersionUID
- See Also:
-
hostname
-
port
-
startCode
-
locationSeqNum
-
HOST_FIELD
- See Also:
-
PORT_FIELD
- See Also:
-
STARTCODE_FIELD
- See Also:
-
LOCATIONSEQNUM_FIELD
- See Also:
-
-
Constructor Details
-
RegionMovedException
-
RegionMovedException
For hadoop.ipc internal call. Do NOT use. We have to parse the hostname to recreate the exception. The input is the one generated bygetMessage()
-
-
Method Details
-
getHostname
-
getPort
-
getServerName
-
getLocationSeqNum
-
getMessage
- Overrides:
getMessage
in classThrowable
-