/// <exception cref="Org.Apache.Hadoop.Yarn.Exceptions.YarnException"/> /// <exception cref="System.IO.IOException"/> public virtual GetApplicationAttemptsResponse GetApplicationAttempts(GetApplicationAttemptsRequest request) { GetApplicationAttemptsResponse response = GetApplicationAttemptsResponse.NewInstance (new AList <ApplicationAttemptReport>(history.GetApplicationAttempts(request.GetApplicationId ()).Values)); return(response); }
/// <exception cref="Org.Apache.Hadoop.Yarn.Exceptions.YarnException"/> /// <exception cref="System.IO.IOException"/> public override GetApplicationAttemptsResponse GetApplicationAttempts(GetApplicationAttemptsRequest request) { this._enclosing.ResetStartFailoverFlag(true); // make sure failover has been triggered NUnit.Framework.Assert.IsTrue(this._enclosing.WaittingForFailOver()); // return fake ApplicationAttemptReports return(GetApplicationAttemptsResponse.NewInstance(this._enclosing.CreateFakeApplicationAttemptReports ())); }