/// <exception cref="Org.Apache.Hadoop.Yarn.Exceptions.YarnException"/> /// <exception cref="System.IO.IOException"/> public override IList <QueueUserACLInfo> GetQueueAclsInfo() { GetQueueUserAclsInfoRequest request = Org.Apache.Hadoop.Yarn.Util.Records.NewRecord <GetQueueUserAclsInfoRequest>(); return(rmClient.GetQueueUserAcls(request).GetUserAclsInfoList()); }
/// <exception cref="Org.Apache.Hadoop.Yarn.Exceptions.YarnException"/> public override GetQueueUserAclsInfoResponse GetQueueUserAcls(GetQueueUserAclsInfoRequest request) { this._enclosing.ResetStartFailoverFlag(true); // make sure failover has been triggered NUnit.Framework.Assert.IsTrue(this._enclosing.WaittingForFailOver()); // return fake queueUserAcls return(GetQueueUserAclsInfoResponse.NewInstance(this._enclosing.CreateFakeQueueUserACLInfoList ())); }
/// <exception cref="Org.Apache.Hadoop.Yarn.Exceptions.YarnException"/> /// <exception cref="System.IO.IOException"/> public virtual GetQueueUserAclsInfoResponse GetQueueUserAcls(GetQueueUserAclsInfoRequest request) { YarnServiceProtos.GetQueueUserAclsInfoRequestProto requestProto = ((GetQueueUserAclsInfoRequestPBImpl )request).GetProto(); try { return(new GetQueueUserAclsInfoResponsePBImpl(proxy.GetQueueUserAcls(null, requestProto ))); } catch (ServiceException e) { RPCUtil.UnwrapAndThrowException(e); return(null); } }
/// <exception cref="System.IO.IOException"/> public virtual GetQueueUserAclsInfoResponse GetQueueUserAcls(GetQueueUserAclsInfoRequest request) { return(null); }