You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Daniel Iancu (JIRA)" <ji...@apache.org> on 2011/05/20 17:52:47 UTC
[jira] [Created] (HBASE-3908) TableSplit not implementing
"hashCode" problem
TableSplit not implementing "hashCode" problem
----------------------------------------------
Key: HBASE-3908
URL: https://issues.apache.org/jira/browse/HBASE-3908
Project: HBase
Issue Type: Bug
Components: mapred, mapreduce
Affects Versions: 0.90.1
Reporter: Daniel Iancu
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
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HBASE-3908) TableSplit not implementing
"hashCode" problem
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-3908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13038305#comment-13038305 ]
Hudson commented on HBASE-3908:
-------------------------------
Integrated in HBase-TRUNK #1933 (See [https://builds.apache.org/hudson/job/HBase-TRUNK/1933/])
> TableSplit not implementing "hashCode" problem
> ----------------------------------------------
>
> Key: HBASE-3908
> URL: https://issues.apache.org/jira/browse/HBASE-3908
> Project: HBase
> Issue Type: Bug
> Components: mapred, mapreduce
> Affects Versions: 0.90.1
> Reporter: Daniel Iancu
> Fix For: 0.90.4
>
> Attachments: HBASE-3908-TableSplit-hashCode.patch
>
>
> 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
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HBASE-3908) TableSplit not implementing
"hashCode" problem
Posted by "Daniel Iancu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-3908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Iancu updated HBASE-3908:
--------------------------------
Tags: mapreduce
Fix Version/s: 0.90.4
Status: Patch Available (was: Open)
> TableSplit not implementing "hashCode" problem
> ----------------------------------------------
>
> Key: HBASE-3908
> URL: https://issues.apache.org/jira/browse/HBASE-3908
> Project: HBase
> Issue Type: Bug
> Components: mapred, mapreduce
> Affects Versions: 0.90.1
> Reporter: Daniel Iancu
> Fix For: 0.90.4
>
>
> 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
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HBASE-3908) TableSplit not implementing
"hashCode" problem
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-3908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack updated HBASE-3908:
-------------------------
Resolution: Fixed
Hadoop Flags: [Reviewed]
Status: Resolved (was: Patch Available)
Committed to trunk and branch. Thanks for the patch Daniel
> TableSplit not implementing "hashCode" problem
> ----------------------------------------------
>
> Key: HBASE-3908
> URL: https://issues.apache.org/jira/browse/HBASE-3908
> Project: HBase
> Issue Type: Bug
> Components: mapred, mapreduce
> Affects Versions: 0.90.1
> Reporter: Daniel Iancu
> Fix For: 0.90.4
>
> Attachments: HBASE-3908-TableSplit-hashCode.patch
>
>
> 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
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HBASE-3908) TableSplit not implementing
"hashCode" problem
Posted by "Daniel Iancu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-3908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Iancu updated HBASE-3908:
--------------------------------
Attachment: HBASE-3908-TableSplit-hashCode.patch
> TableSplit not implementing "hashCode" problem
> ----------------------------------------------
>
> Key: HBASE-3908
> URL: https://issues.apache.org/jira/browse/HBASE-3908
> Project: HBase
> Issue Type: Bug
> Components: mapred, mapreduce
> Affects Versions: 0.90.1
> Reporter: Daniel Iancu
> Fix For: 0.90.4
>
> Attachments: HBASE-3908-TableSplit-hashCode.patch
>
>
> 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
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira