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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.22.0, 0.23.0
    • 0.23.0
    • None
    • None
    • NA

    • 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.patch
          1 kB
          Devaraj Kavali
        2. MAPREDUCE-2249-1.patch
          0.8 kB
          Bhallamudi Venkata Siva Kamesh
        3. MAPREDUCE-2249-2.patch
          1 kB
          Devaraj Kavali

        Activity

          People

            devaraj Devaraj Kavali
            kam_iitkgp Bhallamudi Venkata Siva Kamesh
            Votes:
            0 Vote for this issue
            Watchers:
            4 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