예제 #1
0
        /// <exception cref="System.Exception"/>
        public virtual void TestGetContainerReportOnHA()
        {
            ContainerReport report = client.GetContainerReport(cluster.CreateFakeContainerId(
                                                                   ));

            NUnit.Framework.Assert.IsTrue(report != null);
            NUnit.Framework.Assert.AreEqual(cluster.CreateFakeContainerReport(), report);
        }
예제 #2
0
 /// <exception cref="Org.Apache.Hadoop.Yarn.Exceptions.YarnException"/>
 /// <exception cref="System.IO.IOException"/>
 public override ContainerReport GetContainerReport(ContainerId containerId)
 {
     return(client.GetContainerReport(containerId));
 }