Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-7577

Unit Fail: TestAMRestart#testPreemptedAMRestartOnRMRestart

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.1.0
    • None
    • None
    • Reviewed

    Description

      This happens, if Fair Scheduler is the default. The test should run with both schedulers

      java.lang.AssertionError: 
      Expected :-102
      Actual   :-106
      	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.junit.Assert.assertEquals(Assert.java:542)
      	at org.apache.hadoop.yarn.server.resourcemanager.applicationsmanager.TestAMRestart.testPreemptedAMRestartOnRMRestart(TestAMRestart.java:583)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
      

      Attachments

        1. YARN-7577.000.patch
          7 kB
          Miklos Szegedi
        2. YARN-7577.001.patch
          7 kB
          Miklos Szegedi
        3. YARN-7577.002.patch
          7 kB
          Miklos Szegedi
        4. YARN-7577.003.patch
          13 kB
          Miklos Szegedi
        5. YARN-7577.004.patch
          12 kB
          Miklos Szegedi
        6. YARN-7577.005.patch
          12 kB
          Miklos Szegedi
        7. YARN-7577.006.patch
          12 kB
          Miklos Szegedi

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            miklos.szegedi@cloudera.com Miklos Szegedi
            miklos.szegedi@cloudera.com Miklos Szegedi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment