From 8c0f2a0d59f3b5f59ea62a6d2d23bf105e4d911b Mon Sep 17 00:00:00 2001 From: Jitendra Nath Pandey Date: Tue, 6 Dec 2011 02:08:48 +0000 Subject: [PATCH] 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 --- .../hadoop/hdfs/protocolPB/NamenodeProtocolTranslatorPB.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocolPB/NamenodeProtocolTranslatorPB.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocolPB/NamenodeProtocolTranslatorPB.java index 56a239e033..86e0d9c81e 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocolPB/NamenodeProtocolTranslatorPB.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocolPB/NamenodeProtocolTranslatorPB.java @@ -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); } } -} \ No newline at end of file +}