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

TestAMWebServicesJobs & TestHSWebServicesJobs incorrectly asserting tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.1, 2.0.0-alpha
    • 0.23.1
    • mrv2, test, webapps
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: