HADOOP-7921. StandbyException should extend IOException. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-1623@1214093 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9cf3e0805f
commit
d5a658e7a4
|
@ -13,3 +13,5 @@ HADOOP-7896. HA: if both NNs are in Standby mode, client needs to try failing
|
|||
|
||||
HADOOP-7922. Improve some logging for client IPC failovers and
|
||||
StandbyExceptions (todd)
|
||||
|
||||
HADOOP-7921. StandbyException should extend IOException (todd)
|
||||
|
|
|
@ -17,6 +17,8 @@
|
|||
*/
|
||||
package org.apache.hadoop.ipc;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
import org.apache.hadoop.classification.InterfaceStability;
|
||||
|
||||
/**
|
||||
|
@ -24,7 +26,7 @@ import org.apache.hadoop.classification.InterfaceStability;
|
|||
* set of servers in which only a subset may be active.
|
||||
*/
|
||||
@InterfaceStability.Evolving
|
||||
public class StandbyException extends Exception {
|
||||
public class StandbyException extends IOException {
|
||||
static final long serialVersionUID = 0x12308AD010L;
|
||||
public StandbyException(String msg) {
|
||||
super(msg);
|
||||
|
|
Loading…
Reference in New Issue