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

Streamline hashCode(), equals(), compareTo() and toString() for all IDs

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.23.0, 2.0.0-alpha
    • Fix Version/s: 0.23.0
    • Component/s: mrv2
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      MAPREDUCE-2954 moved these methods to the record interfaces from the PB impls for ContainerId, ApplicationId and ApplicationAttemptId. This is good as they don't need to be tied to the implementation.

      We should do the same for all IDs. In fact some of these are missing for IDs like MR AM JobId, TaskId etc.

        Attachments

        1. MR2965_v5.patch
          56 kB
          Siddharth Seth
        2. MR2965_v4.patch
          47 kB
          Siddharth Seth
        3. MR2965_v3.patch
          47 kB
          Siddharth Seth
        4. MR2965_v2.patch
          39 kB
          Siddharth Seth
        5. MR2965_v1.patch
          40 kB
          Siddharth Seth

          Issue Links

            Activity

              People

              • Assignee:
                sseth Siddharth Seth
                Reporter:
                vinodkv Vinod Kumar Vavilapalli
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: