HDFS-2689. HA: BookKeeperEditLogInputStream doesn't implement isInProgress(). Contributed by Aaron T. Myers
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-1623@1214965 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d937abd434
commit
353bc3799d
|
@ -55,3 +55,5 @@ HDFS-2671. NN should throw StandbyException in response to RPCs in STANDBY state
|
|||
HDFS-2680. DFSClient should construct failover proxy with exponential backoff (todd)
|
||||
|
||||
HDFS-2683. Authority-based lookup of proxy provider fails if path becomes canonicalized (todd)
|
||||
|
||||
HDFS-2689. HA: BookKeeperEditLogInputStream doesn't implement isInProgress() (atm)
|
||||
|
|
|
@ -129,6 +129,12 @@ class BookKeeperEditLogInputStream extends EditLogInputStream {
|
|||
return null;
|
||||
}
|
||||
|
||||
// TODO(HA): Test this.
|
||||
@Override
|
||||
public boolean isInProgress() {
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Input stream implementation which can be used by
|
||||
* FSEditLogOp.Reader
|
||||
|
|
|
@ -86,5 +86,5 @@ public abstract class EditLogInputStream implements JournalStream, Closeable {
|
|||
/**
|
||||
* Return true if this stream is in progress, false if it is finalized.
|
||||
*/
|
||||
abstract boolean isInProgress();
|
||||
public abstract boolean isInProgress();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue