@Override public StartCheckpointResponseProto startCheckpoint(RpcController unused, StartCheckpointRequestProto request) throws ServiceException { NamenodeCommand cmd; try { cmd = impl.startCheckpoint(PBHelper.convert(request.getRegistration())); } catch (IOException e) { throw new ServiceException(e); } return StartCheckpointResponseProto.newBuilder() .setCommand(PBHelper.convert(cmd)).build(); }