HDFS-2310. TestBackupNode fails since HADOOP-7524 went in. Contributed by Ivan Kelly.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1165461 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Todd Lipcon 2011-09-06 00:34:57 +00:00
parent ae367be8f3
commit d1438b501d
3 changed files with 4 additions and 1 deletions

View File

@ -17,6 +17,8 @@ Trunk (unreleased changes)
HDFS-2299. TestOfflineEditsViewer is failing on trunk. (Uma Maheswara Rao G
via atm)
HDFS-2310. TestBackupNode fails since HADOOP-7524 went in.
(Ivan Kelly via todd)
Release 0.23.0 - Unreleased

View File

@ -74,6 +74,7 @@ public class BackupNode extends NameNode implements JournalProtocol {
BackupNode(Configuration conf, NamenodeRole role) throws IOException {
super(conf, role);
this.server.addProtocol(JournalProtocol.class, this);
}
/////////////////////////////////////////////////////

View File

@ -214,7 +214,7 @@ public ProtocolSignature getProtocolSignature(String protocol,
protected FSNamesystem namesystem;
protected NamenodeRole role;
/** RPC server. Package-protected for use in tests. */
Server server;
RPC.Server server;
/** RPC server for HDFS Services communication.
BackupNode, Datanodes and all other services
should be connecting to this server if it is