Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-3723

TestAMWebServicesJobs & TestHSWebServicesJobs incorrectly asserting tests

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.1, 2.0.0-alpha
    • Fix Version/s: 0.23.1
    • Component/s: mrv2, test, webapps
    • Labels:
      None

      Description

      While testing a patch for one of the MR issues, I found TestAMWebServicesJobs & TestHSWebServicesJobs incorrectly asserting tests.
      Moreover tests may fail if

      	index of counterGroups > #counters in a particular counterGroup
      
      TestAMWebServicesJobs.java
      for (int j = 0; j < counters.length(); j++) {
       JSONObject counter = counters.getJSONObject(i);
      

      where is i is index of outer loop. It should be j instead of i.

        Attachments

        1. MAPREDUCE-3723.patch
          2 kB
          Bhallamudi Venkata Siva Kamesh

          Activity

            People

            • Assignee:
              kamesh Bhallamudi Venkata Siva Kamesh
              Reporter:
              kam_iitkgp Bhallamudi Venkata Siva Kamesh
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: