示例#1
0
        /// <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
                                            );
        }
示例#2
0
 /// <exception cref="Org.Apache.Hadoop.Yarn.Exceptions.YarnException"/>
 /// <exception cref="System.IO.IOException"/>
 public override IList <ApplicationAttemptReport> GetApplicationAttempts(ApplicationId
                                                                         appId)
 {
     return(client.GetApplicationAttempts(appId));
 }