HDFS-2618. Fix for the build failure caused by previous commit.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1210746 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jitendra Nath Pandey 2011-12-06 02:08:48 +00:00
parent a55599062c
commit 8c0f2a0d59
1 changed files with 2 additions and 2 deletions

View File

@ -206,7 +206,7 @@ public void errorReport(NamenodeRegistration registration, int errorCode,
String msg) throws IOException {
ErrorReportRequestProto req = ErrorReportRequestProto.newBuilder()
.setErrorCode(errorCode).setMsg(msg)
.setRegistartion(PBHelper.convert(registration)).build();
.setRegistration(PBHelper.convert(registration)).build();
try {
rpcProxy.errorReport(NULL_CONTROLLER, req);
} catch (ServiceException e) {
@ -266,4 +266,4 @@ public RemoteEditLogManifest getEditLogManifest(long sinceTxId)
throw ProtobufHelper.getRemoteException(e);
}
}
}
}