/// <exception cref="Org.Apache.Hadoop.Yarn.Exceptions.YarnException"/> /// <exception cref="System.IO.IOException"/> public virtual GetLabelsToNodesResponse GetLabelsToNodes(GetLabelsToNodesRequest request) { YarnServiceProtos.GetLabelsToNodesRequestProto requestProto = ((GetLabelsToNodesRequestPBImpl )request).GetProto(); try { return(new GetLabelsToNodesResponsePBImpl(proxy.GetLabelsToNodes(null, requestProto ))); } catch (ServiceException e) { RPCUtil.UnwrapAndThrowException(e); return(null); } }
/// <exception cref="Org.Apache.Hadoop.Yarn.Exceptions.YarnException"/> /// <exception cref="System.IO.IOException"/> public override IDictionary <string, ICollection <NodeId> > GetLabelsToNodes(ICollection <string> labels) { return(rmClient.GetLabelsToNodes(GetLabelsToNodesRequest.NewInstance(labels)).GetLabelsToNodes ()); }
/// <exception cref="Org.Apache.Hadoop.Yarn.Exceptions.YarnException"/> /// <exception cref="System.IO.IOException"/> public virtual GetLabelsToNodesResponse GetLabelsToNodes(GetLabelsToNodesRequest request) { return(null); }