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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 3.0.0-alpha4
    • None
    • mr-am, task
    • None
    • 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

        Issue Links

          Activity

            People

              Unassigned Unassigned
              NeoMatrix rangjiaheng
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: