public GetDatanodeInfoResponseProto getDatanodeInfo(RpcController unused, GetDatanodeInfoRequestProto request) throws ServiceException { GetDatanodeInfoResponseProto res; try { res = GetDatanodeInfoResponseProto.newBuilder() .setLocalInfo(PBHelper.convert(impl.getDatanodeInfo())).build(); } catch (IOException e) { throw new ServiceException(e); } return res; }
public GetDatanodeInfoResponseProto getDatanodeInfo(RpcController unused, GetDatanodeInfoRequestProto request) throws ServiceException { GetDatanodeInfoResponseProto res; try { res = GetDatanodeInfoResponseProto.newBuilder() .setLocalInfo(PBHelperClient.convert(impl.getDatanodeInfo())).build(); } catch (IOException e) { throw new ServiceException(e); } return res; }