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

Make all MockRM#waitForState consistent.

    Details

      Description

      There are some inconsistencies among these waitForState in MockRM:
      1. Some waitForState return a boolean while others don't.
      2. Some waitForState don't have a timeout, they can wait for ever.
      3. Some waitForState use LOG.info and others use System.out.println to print messages.

        Attachments

        1. YARN-4907.002.patch
          7 kB
          Yufei Gu
        2. YARN-4907.001.patch
          7 kB
          Yufei Gu

          Issue Links

            Activity

              People

              • Assignee:
                yufeigu Yufei Gu
                Reporter:
                yufeigu Yufei Gu
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: