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

Better to check the reflexive property of the object while overriding equals method of it

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.22.0, 0.23.0
    • Fix Version/s: 0.23.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      NA

    • Hadoop Flags:
      Reviewed

      Description

      It is better to check the reflexive property of the object while overriding equals method of it.

      It improves the performance when a heavy object is compared to itself.

        Attachments

        1. MAPREDUCE-2249-2.patch
          1 kB
          Devaraj K
        2. MAPREDUCE-2249.patch
          1 kB
          Devaraj K
        3. MAPREDUCE-2249-1.patch
          0.8 kB
          Bhallamudi Venkata Siva Kamesh

          Activity

            People

            • Assignee:
              devaraj.k Devaraj K
              Reporter:
              kam_iitkgp Bhallamudi Venkata Siva Kamesh
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 48h
                48h
                Remaining:
                Remaining Estimate - 48h
                48h
                Logged:
                Time Spent - Not Specified
                Not Specified