瀏覽代碼

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
Jitendra Nath Pandey 13 年之前
父節點
當前提交
8c0f2a0d59

+ 2 - 2
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocolPB/NamenodeProtocolTranslatorPB.java

@@ -206,7 +206,7 @@ public class NamenodeProtocolTranslatorPB implements NamenodeProtocol,
       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 class NamenodeProtocolTranslatorPB implements NamenodeProtocol,
       throw ProtobufHelper.getRemoteException(e);
     }
   }
-}
+}