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:
Todd Lipcon 2011-12-14 08:10:34 +00:00
parent 9cf3e0805f
commit d5a658e7a4
2 changed files with 5 additions and 1 deletions

View File

@ -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)

View File

@ -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);