/// <exception cref="Org.Apache.Hadoop.Yarn.Exceptions.YarnException"/> /// <exception cref="System.IO.IOException"/> public virtual GetNodesToLabelsResponse GetNodeToLabels(GetNodesToLabelsRequest request ) { YarnServiceProtos.GetNodesToLabelsRequestProto requestProto = ((GetNodesToLabelsRequestPBImpl )request).GetProto(); try { return(new GetNodesToLabelsResponsePBImpl(proxy.GetNodeToLabels(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 <NodeId, ICollection <string> > GetNodeToLabels() { return(rmClient.GetNodeToLabels(GetNodesToLabelsRequest.NewInstance()).GetNodeToLabels ()); }
/// <exception cref="Org.Apache.Hadoop.Yarn.Exceptions.YarnException"/> /// <exception cref="System.IO.IOException"/> public virtual GetNodesToLabelsResponse GetNodeToLabels(GetNodesToLabelsRequest request ) { return(null); }