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:
Aaron Myers 2011-12-15 21:54:00 +00:00
parent d937abd434
commit 353bc3799d
3 changed files with 9 additions and 1 deletions

View File

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

View File

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

View File

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