/// <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);
     }
 }
Beispiel #2
0
 /// <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
                ());
 }
Beispiel #3
0
 /// <exception cref="Org.Apache.Hadoop.Yarn.Exceptions.YarnException"/>
 /// <exception cref="System.IO.IOException"/>
 public virtual GetLabelsToNodesResponse GetLabelsToNodes(GetLabelsToNodesRequest
                                                          request)
 {
     return(null);
 }