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

CLONE - MR task counters deserialized through RPC throws OutOfBoundsException if Counter enum class version not match

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.0.0-alpha4
    • Fix Version/s: None
    • Component/s: mr-am, task
    • Labels:
      None
    • Environment:

      NM1 TaskCounter.class old version;
      NM2 TaskCounter.class new version (new Enumeration values appended);

      Description

      Environment:
      NM1 TaskCounter.class old version;
      NM2 TaskCounter.class new version (new Enumeration values appended);

      Result:
      When an MR app's AM running on NM1, and it's containers on NM2; the containers on NM2 will all failed, AM cause OutOfBoundsException;

      Reason:
      When app running, containers will report their counters to AM through RPC, while the Container with new version TaskCounter.class will write more Counter values to RPC; however, the AM with old version TaskCounter.class which can not read them correctly from RPC.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              NeoMatrix rangjiaheng
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: