/// <exception cref="Org.Apache.Hadoop.Yarn.Exceptions.YarnException"/> /// <exception cref="System.IO.IOException"/> public override QueueInfo GetQueueInfo(string queueName) { Org.Apache.Hadoop.Yarn.Api.Protocolrecords.GetQueueInfoRequest request = GetQueueInfoRequest (queueName, true, false, false); Org.Apache.Hadoop.Yarn.Util.Records.NewRecord <Org.Apache.Hadoop.Yarn.Api.Protocolrecords.GetQueueInfoRequest >(); return(rmClient.GetQueueInfo(request).GetQueueInfo()); }
public static GetQueueInfoRequest NewInstance(string queueName, bool includeApplications , bool includeChildQueues, bool recursive) { GetQueueInfoRequest request = Records.NewRecord <GetQueueInfoRequest>(); request.SetQueueName(queueName); request.SetIncludeApplications(includeApplications); request.SetIncludeChildQueues(includeChildQueues); request.SetRecursive(recursive); return(request); }
private Org.Apache.Hadoop.Yarn.Api.Protocolrecords.GetQueueInfoRequest GetQueueInfoRequest (string queueName, bool includeApplications, bool includeChildQueues, bool recursive ) { Org.Apache.Hadoop.Yarn.Api.Protocolrecords.GetQueueInfoRequest request = Org.Apache.Hadoop.Yarn.Util.Records .NewRecord <Org.Apache.Hadoop.Yarn.Api.Protocolrecords.GetQueueInfoRequest>(); request.SetQueueName(queueName); request.SetIncludeApplications(includeApplications); request.SetIncludeChildQueues(includeChildQueues); request.SetRecursive(recursive); return(request); }