/// <exception cref="System.Exception"/> public virtual void TestGetApplicationAttemptsOnHA() { IList <ApplicationAttemptReport> reports = client.GetApplicationAttempts(cluster.CreateFakeAppId ()); NUnit.Framework.Assert.IsTrue(reports != null && !reports.IsEmpty()); NUnit.Framework.Assert.AreEqual(cluster.CreateFakeApplicationAttemptReports(), reports ); }
/// <exception cref="Org.Apache.Hadoop.Yarn.Exceptions.YarnException"/> /// <exception cref="System.IO.IOException"/> public override IList <ApplicationAttemptReport> GetApplicationAttempts(ApplicationId appId) { return(client.GetApplicationAttempts(appId)); }