Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-2928 YARN Timeline Service v.2: alpha 1
  3. YARN-4350

TestDistributedShell fails for V2 scenarios

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • YARN-2928
    • 2.9.0, 3.0.0-alpha1
    • timelineserver
    • None
    • Reviewed

    Description

      Currently TestDistributedShell does not pass on the feature-YARN-2928 branch. There seem to be 2 distinct issues.

      (1) testDSShellWithoutDomainV2* tests fail sporadically
      These test fail more often than not if tested by themselves:

      testDSShellWithoutDomainV2DefaultFlow(org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell)  Time elapsed: 30.998 sec  <<< FAILURE!
      java.lang.AssertionError: Application created event should be published atleast once expected:<1> but was:<0>
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.failNotEquals(Assert.java:743)
      	at org.junit.Assert.assertEquals(Assert.java:118)
      	at org.junit.Assert.assertEquals(Assert.java:555)
      	at org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.checkTimelineV2(TestDistributedShell.java:451)
      	at org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSShell(TestDistributedShell.java:326)
      	at org.apache.hadoop.yarn.applications.distributedshell.TestDistributedShell.testDSShellWithoutDomainV2DefaultFlow(TestDistributedShell.java:207)
      

      They start happening after YARN-4129. I suspect this might have to do with some timing issue.

      (2) the whole test times out
      If you run the whole TestDistributedShell test, it times out without fail. This may or may not have to do with the port change introduced by YARN-2859 (just a hunch).

      Attachments

        1. YARN-4350-feature-YARN-2928.001.patch
          5 kB
          Naganarasimha G R
        2. YARN-4350-feature-YARN-2928.002.patch
          4 kB
          Naganarasimha G R
        3. YARN-4350-feature-YARN-2928.003.patch
          4 kB
          Naganarasimha G R

        Issue Links

          Activity

            People

              Naganarasimha Naganarasimha G R
              sjlee0 Sangjin Lee
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: