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

Fix a bug in LogCLIHelpers which cause TestLogsCLI#testFetchApplictionLogs fails intermittently

    Details

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

      Description

      TestLogsCLI fails intermittently on build link

      Running org.apache.hadoop.yarn.client.cli.TestLogsCLI
      Tests run: 11, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.708 sec <<< FAILURE! - in org.apache.hadoop.yarn.client.cli.TestLogsCLI
      testFetchApplictionLogs(org.apache.hadoop.yarn.client.cli.TestLogsCLI)  Time elapsed: 0.176 sec  <<< FAILURE!
      org.junit.ComparisonFailure: expected:<[Hello]> but was:<[=====]>
      	at org.junit.Assert.assertEquals(Assert.java:115)
      	at org.junit.Assert.assertEquals(Assert.java:144)
      	at org.apache.hadoop.yarn.client.cli.TestLogsCLI.testFetchApplictionLogs(TestLogsCLI.java:389)
      

        Attachments

        1. YARN-5213.patch
          2 kB
          Rohith Sharma K S
        2. YARN-5213.2.patch
          11 kB
          Xuan Gong
        3. YARN-5213.1.patch
          1 kB
          Xuan Gong

          Activity

            People

            • Assignee:
              xgong Xuan Gong
              Reporter:
              rohithsharma Rohith Sharma K S
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: