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

Improve the assertion message in MockRM while failing after waiting for the state.

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      In MockRM when the test is failed after waiting for the given state, the application id or the attempt id can be printed for easy debug

      As of now if it hard to track the test fail in log since there is no relation with test case and the application id.

      Any thoughts ?

        Attachments

        1. YARN-4135_1.patch
          2 kB
          nijel
        2. YARN-4135_2.patch
          2 kB
          nijel

          Activity

            People

            • Assignee:
              nijel nijel
              Reporter:
              nijel nijel
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: