Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-8222

User class should implement equals() and hashCode()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.94.6
    • 0.98.0, 0.94.7, 0.95.0
    • security
    • None
    • Reviewed

    Description

      The current implementation of the User class does not override equals() and hashCode(), so connection reuse in HBaseClient is completely broken.

      Attachments

        1. 8222-v2-0.94.txt
          1 kB
          Ted Yu
        2. 8222-v2.txt
          1 kB
          Ted Yu
        3. 8222-v1.txt
          0.8 kB
          Ted Yu

        Activity

          People

            yuzhihong@gmail.com Ted Yu
            ghelmling Gary Helmling
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: