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

TableSplit not implementing "hashCode" problem

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.90.1
    • Fix Version/s: 0.90.4
    • Component/s: mapreduce
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Tags:
      mapreduce

      Description

      reported by Lucian Iordache on hbase-user mail list. will attach the patch asap
      -------------------------------------------

      Hi guys,

      I've just found a problem with the class TableSplit. It implements "equals",
      but it does not implement hashCode also, as it should have.
      I've discovered it by trying to use a HashSet of TableSplit's, and I've
      noticed that some duplicate splits are added to the set.

      The only option I have for now is to extend TableSplit and to use the
      subclass.
      I use cloudera hbase cdh3u0 version.

      Do you know about this problem? Should I open a Jira issue for that, or it
      already exists?

      Thanks,
      Lucian

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              diancu Daniel Iancu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: