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:
parent
a55599062c
commit
8c0f2a0d59
|
@ -206,7 +206,7 @@ public class NamenodeProtocolTranslatorPB implements NamenodeProtocol,
|
||||||
String msg) throws IOException {
|
String msg) throws IOException {
|
||||||
ErrorReportRequestProto req = ErrorReportRequestProto.newBuilder()
|
ErrorReportRequestProto req = ErrorReportRequestProto.newBuilder()
|
||||||
.setErrorCode(errorCode).setMsg(msg)
|
.setErrorCode(errorCode).setMsg(msg)
|
||||||
.setRegistartion(PBHelper.convert(registration)).build();
|
.setRegistration(PBHelper.convert(registration)).build();
|
||||||
try {
|
try {
|
||||||
rpcProxy.errorReport(NULL_CONTROLLER, req);
|
rpcProxy.errorReport(NULL_CONTROLLER, req);
|
||||||
} catch (ServiceException e) {
|
} catch (ServiceException e) {
|
||||||
|
|
Loading…
Reference in New Issue