/// <exception cref="System.Exception"/> public virtual void TestGetContainersOnHA() { IList <ContainerReport> reports = client.GetContainers(cluster.CreateFakeApplicationAttemptId ()); NUnit.Framework.Assert.IsTrue(reports != null && !reports.IsEmpty()); NUnit.Framework.Assert.AreEqual(cluster.CreateFakeContainerReports(), reports); }
/// <exception cref="Org.Apache.Hadoop.Yarn.Exceptions.YarnException"/> /// <exception cref="System.IO.IOException"/> public override IList <ContainerReport> GetContainers(ApplicationAttemptId applicationAttemptId ) { return(client.GetContainers(applicationAttemptId)); }