Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-3723

TestAMWebServicesJobs & TestHSWebServicesJobs incorrectly asserting tests

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

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

        Activity

        Bhallamudi Venkata Siva Kamesh created issue -
        Bhallamudi Venkata Siva Kamesh made changes -
        Field Original Value New Value
        Attachment MAPREDUCE-3723.patch [ 12511828 ]
        Bhallamudi Venkata Siva Kamesh made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Mahadev konar made changes -
        Assignee Bhallamudi Venkata Siva Kamesh [ kamesh ]
        Mahadev konar made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 0.23.1 [ 12318883 ]
        Resolution Fixed [ 1 ]
        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Allen Wittenauer made changes -
        Affects Version/s 2.0.0-alpha [ 12320354 ]
        Affects Version/s 0.24.0 [ 12317654 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development