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

Use MockRMMemoryStateStore to reduce test failures

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-beta1
    • Component/s: None
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      https://builds.apache.org/job/PreCommit-YARN-Build/12850/testReport/org.apache.hadoop.yarn.server.resourcemanager/TestRMRestart/testFinishedAppRemovalAfterRMRestart/

      Error Message
      
      Stacktrace
      
      java.lang.AssertionError: expected null, but was:<submit_time: 1471885197416 application_submission_context { application_id { id: 1 cluster_timestamp: 1471885197388 } application_name: "" queue: "default" priority { priority: 0 } am_container_spec { } cancel_tokens_when_complete: true maxAppAttempts: 2 resource { memory: 1024 virtual_cores: 1 } applicationType: "YARN" keep_containers_across_application_attempts: false attempt_failures_validity_interval: 0 am_container_resource_request { priority { priority: 0 } resource_name: "*" capability { memory: 1024 virtual_cores: 1 } num_containers: 0 relax_locality: true node_label_expression: "" execution_type_request { execution_type: GUARANTEED enforce_execution_type: false } } } user: "jenkins" start_time: 1471885197417 application_state: RMAPP_FINISHED finish_time: 1471885197478>
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.failNotNull(Assert.java:664)
      	at org.junit.Assert.assertNull(Assert.java:646)
      	at org.junit.Assert.assertNull(Assert.java:656)
      	at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testFinishedAppRemovalAfterRMRestart(TestRMRestart.java:1656)
      
      

        Attachments

        1. YARN-5548.0001.patch
          4 kB
          Bibin A Chundatt
        2. YARN-5548.0002.patch
          5 kB
          Bibin A Chundatt
        3. YARN-5548.0003.patch
          4 kB
          Bibin A Chundatt
        4. YARN-5548.0004.patch
          41 kB
          Bibin A Chundatt
        5. YARN-5548.0005.patch
          41 kB
          Bibin A Chundatt
        6. YARN-5548.0006.patch
          41 kB
          Bibin A Chundatt
        7. YARN-5548.0007.patch
          46 kB
          Bibin A Chundatt
        8. YARN-5548.0008.patch
          41 kB
          Bibin A Chundatt
        9. YARN-5548.0009.patch
          41 kB
          Bibin A Chundatt
        10. YARN-5548.0010.patch
          41 kB
          Bibin A Chundatt
        11. YARN-5548.0011.patch
          37 kB
          Bibin A Chundatt
        12. YARN-5548.0012.patch
          68 kB
          Bibin A Chundatt
        13. YARN-5548.0013.patch
          68 kB
          Bibin A Chundatt
        14. YARN-5548.0014.patch
          68 kB
          Bibin A Chundatt
        15. YARN-5548.0015.patch
          68 kB
          Bibin A Chundatt
        16. YARN-5548.0016.patch
          80 kB
          Bibin A Chundatt
        17. YARN-5548.0017.patch
          79 kB
          Bibin A Chundatt
        18. YARN-5548.0018.patch
          80 kB
          Bibin A Chundatt

          Issue Links

            Activity

              People

              • Assignee:
                bibinchundatt Bibin A Chundatt
                Reporter:
                bibinchundatt Bibin A Chundatt
              • Votes:
                1 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: