You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Erik Holstad (JIRA)" <ji...@apache.org> on 2009/07/07 05:56:14 UTC
[jira] Created: (HBASE-1617) Make Result comparable to work with
Cascading
Make Result comparable to work with Cascading
---------------------------------------------
Key: HBASE-1617
URL: https://issues.apache.org/jira/browse/HBASE-1617
Project: Hadoop HBase
Issue Type: New Feature
Components: client
Affects Versions: 0.20.0
Reporter: Erik Holstad
Assignee: Erik Holstad
Fix For: 0.20.0
When using HBase as a Tap for Cascading it makes sense to put the result from HBase into a Tuple. The Element in the tuple needs to be comparable.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HBASE-1617) Make Result comparable to work with
Cascading
Posted by "Erik Holstad (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Erik Holstad updated HBASE-1617:
--------------------------------
Attachment: HBASE-1617-v1.patch
Add the Comparable interface to Result, to make it work with Cascading.Tuple
> Make Result comparable to work with Cascading
> ---------------------------------------------
>
> Key: HBASE-1617
> URL: https://issues.apache.org/jira/browse/HBASE-1617
> Project: Hadoop HBase
> Issue Type: New Feature
> Components: client
> Affects Versions: 0.20.0
> Reporter: Erik Holstad
> Assignee: Erik Holstad
> Fix For: 0.20.0
>
> Attachments: HBASE-1617-v1.patch
>
>
> When using HBase as a Tap for Cascading it makes sense to put the result from HBase into a Tuple. The Element in the tuple needs to be comparable.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HBASE-1617) Make Result comparable to work with
Cascading
Posted by "Erik Holstad (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12728334#action_12728334 ]
Erik Holstad commented on HBASE-1617:
-------------------------------------
Sure thing.
> Make Result comparable to work with Cascading
> ---------------------------------------------
>
> Key: HBASE-1617
> URL: https://issues.apache.org/jira/browse/HBASE-1617
> Project: Hadoop HBase
> Issue Type: New Feature
> Components: client
> Affects Versions: 0.20.0
> Reporter: Erik Holstad
> Assignee: Erik Holstad
> Attachments: HBASE-1617-v1.patch
>
>
> When using HBase as a Tap for Cascading it makes sense to put the result from HBase into a Tuple. The Element in the tuple needs to be comparable.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HBASE-1617) Make Result comparable to work with
Cascading
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack updated HBASE-1617:
-------------------------
Fix Version/s: (was: 0.20.0)
Moving out for now. Let us know if cascading hookup needs these changes and we'll bring them back in then.
> Make Result comparable to work with Cascading
> ---------------------------------------------
>
> Key: HBASE-1617
> URL: https://issues.apache.org/jira/browse/HBASE-1617
> Project: Hadoop HBase
> Issue Type: New Feature
> Components: client
> Affects Versions: 0.20.0
> Reporter: Erik Holstad
> Assignee: Erik Holstad
> Attachments: HBASE-1617-v1.patch
>
>
> When using HBase as a Tap for Cascading it makes sense to put the result from HBase into a Tuple. The Element in the tuple needs to be comparable.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HBASE-1617) Make Result comparable to work with
Cascading
Posted by "Erik Holstad (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Erik Holstad updated HBASE-1617:
--------------------------------
Attachment: HBASE-1617-v2.patch
Changed from implementing Writable and Comparable to implement WritableComparable.
> Make Result comparable to work with Cascading
> ---------------------------------------------
>
> Key: HBASE-1617
> URL: https://issues.apache.org/jira/browse/HBASE-1617
> Project: Hadoop HBase
> Issue Type: New Feature
> Components: client
> Affects Versions: 0.20.0
> Reporter: Erik Holstad
> Assignee: Erik Holstad
> Attachments: HBASE-1617-v1.patch, HBASE-1617-v2.patch
>
>
> When using HBase as a Tap for Cascading it makes sense to put the result from HBase into a Tuple. The Element in the tuple needs to be comparable.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Work started: (HBASE-1617) Make Result comparable to work
with Cascading
Posted by "Erik Holstad (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on HBASE-1617 started by Erik Holstad.
> Make Result comparable to work with Cascading
> ---------------------------------------------
>
> Key: HBASE-1617
> URL: https://issues.apache.org/jira/browse/HBASE-1617
> Project: Hadoop HBase
> Issue Type: New Feature
> Components: client
> Affects Versions: 0.20.0
> Reporter: Erik Holstad
> Assignee: Erik Holstad
> Attachments: HBASE-1617-v1.patch, HBASE-1617-v2.patch
>
>
> When using HBase as a Tap for Cascading it makes sense to put the result from HBase into a Tuple. The Element in the tuple needs to be comparable.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HBASE-1617) Make Result comparable to work with
Cascading
Posted by "Erik Holstad (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12728430#action_12728430 ]
Erik Holstad commented on HBASE-1617:
-------------------------------------
Yeah, I guess I wasn't clear about my needs. To be able to put a class into a Cascading Tuple it need to implement Comparable, but in the case of Result the actual compareTo
method doesn't really need to do much, since I'm not planing to compare them on more than the actual row at the moment.
So, yes these things are needed for it to work with the new tap that I'm making for Cascading.
> Make Result comparable to work with Cascading
> ---------------------------------------------
>
> Key: HBASE-1617
> URL: https://issues.apache.org/jira/browse/HBASE-1617
> Project: Hadoop HBase
> Issue Type: New Feature
> Components: client
> Affects Versions: 0.20.0
> Reporter: Erik Holstad
> Assignee: Erik Holstad
> Attachments: HBASE-1617-v1.patch, HBASE-1617-v2.patch
>
>
> When using HBase as a Tap for Cascading it makes sense to put the result from HBase into a Tuple. The Element in the tuple needs to be comparable.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HBASE-1617) Make Result comparable to work with
Cascading
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12728422#action_12728422 ]
stack commented on HBASE-1617:
------------------------------
Is this needed for cascading Erik? Above you say its not needed?
> Make Result comparable to work with Cascading
> ---------------------------------------------
>
> Key: HBASE-1617
> URL: https://issues.apache.org/jira/browse/HBASE-1617
> Project: Hadoop HBase
> Issue Type: New Feature
> Components: client
> Affects Versions: 0.20.0
> Reporter: Erik Holstad
> Assignee: Erik Holstad
> Attachments: HBASE-1617-v1.patch, HBASE-1617-v2.patch
>
>
> When using HBase as a Tap for Cascading it makes sense to put the result from HBase into a Tuple. The Element in the tuple needs to be comparable.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HBASE-1617) Make Result comparable to work with
Cascading
Posted by "Erik Holstad (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Erik Holstad resolved HBASE-1617.
---------------------------------
Resolution: Fixed
This feature is not needed any more. Cascading is going to change its requirements so that you supply it with a comparator in the cases where that is needed, so that a regular input to a Cascading Tuple doesn't have to be Comparable any more.
> Make Result comparable to work with Cascading
> ---------------------------------------------
>
> Key: HBASE-1617
> URL: https://issues.apache.org/jira/browse/HBASE-1617
> Project: Hadoop HBase
> Issue Type: New Feature
> Components: client
> Affects Versions: 0.20.0
> Reporter: Erik Holstad
> Assignee: Erik Holstad
> Attachments: HBASE-1617-v1.patch, HBASE-1617-v2.patch
>
>
> When using HBase as a Tap for Cascading it makes sense to put the result from HBase into a Tuple. The Element in the tuple needs to be comparable.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HBASE-1617) Make Result comparable to work with
Cascading
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727903#action_12727903 ]
stack commented on HBASE-1617:
------------------------------
Is row compare all you need Erik?
> Make Result comparable to work with Cascading
> ---------------------------------------------
>
> Key: HBASE-1617
> URL: https://issues.apache.org/jira/browse/HBASE-1617
> Project: Hadoop HBase
> Issue Type: New Feature
> Components: client
> Affects Versions: 0.20.0
> Reporter: Erik Holstad
> Assignee: Erik Holstad
> Fix For: 0.20.0
>
> Attachments: HBASE-1617-v1.patch
>
>
> When using HBase as a Tap for Cascading it makes sense to put the result from HBase into a Tuple. The Element in the tuple needs to be comparable.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HBASE-1617) Make Result comparable to work with
Cascading
Posted by "Erik Holstad (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12728261#action_12728261 ]
Erik Holstad commented on HBASE-1617:
-------------------------------------
:) Yeah, oki I guess I need something, need for Result to be comparable, but not really for it to do some real work.
Like I said in 1619 I'm cool with moving out the Cascading related issues if everything else is done, but I think it will be done this week.
> Make Result comparable to work with Cascading
> ---------------------------------------------
>
> Key: HBASE-1617
> URL: https://issues.apache.org/jira/browse/HBASE-1617
> Project: Hadoop HBase
> Issue Type: New Feature
> Components: client
> Affects Versions: 0.20.0
> Reporter: Erik Holstad
> Assignee: Erik Holstad
> Fix For: 0.20.0
>
> Attachments: HBASE-1617-v1.patch
>
>
> When using HBase as a Tap for Cascading it makes sense to put the result from HBase into a Tuple. The Element in the tuple needs to be comparable.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HBASE-1617) Make Result comparable to work with
Cascading
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12728176#action_12728176 ]
stack commented on HBASE-1617:
------------------------------
If you ".. don't need anything...", why file an issue (smile). Does this need to be part of 0.20.0? (Making hbase better for cascading is a 0.20.0 issue IMO)
> Make Result comparable to work with Cascading
> ---------------------------------------------
>
> Key: HBASE-1617
> URL: https://issues.apache.org/jira/browse/HBASE-1617
> Project: Hadoop HBase
> Issue Type: New Feature
> Components: client
> Affects Versions: 0.20.0
> Reporter: Erik Holstad
> Assignee: Erik Holstad
> Fix For: 0.20.0
>
> Attachments: HBASE-1617-v1.patch
>
>
> When using HBase as a Tap for Cascading it makes sense to put the result from HBase into a Tuple. The Element in the tuple needs to be comparable.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HBASE-1617) Make Result comparable to work with
Cascading
Posted by "Erik Holstad (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727906#action_12727906 ]
Erik Holstad commented on HBASE-1617:
-------------------------------------
I actually don't need anything, since I don't really compare anything in the Tap, but will try to see if I can make it nicer than the old Tap, so give me like 24 hours or so before committing it.
> Make Result comparable to work with Cascading
> ---------------------------------------------
>
> Key: HBASE-1617
> URL: https://issues.apache.org/jira/browse/HBASE-1617
> Project: Hadoop HBase
> Issue Type: New Feature
> Components: client
> Affects Versions: 0.20.0
> Reporter: Erik Holstad
> Assignee: Erik Holstad
> Fix For: 0.20.0
>
> Attachments: HBASE-1617-v1.patch
>
>
> When using HBase as a Tap for Cascading it makes sense to put the result from HBase into a Tuple. The Element in the tuple needs to be comparable.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HBASE-1617) Make Result comparable to work with
Cascading
Posted by "stack (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-1617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12728328#action_12728328 ]
stack commented on HBASE-1617:
------------------------------
Erik, make this WritableComparable too.
> Make Result comparable to work with Cascading
> ---------------------------------------------
>
> Key: HBASE-1617
> URL: https://issues.apache.org/jira/browse/HBASE-1617
> Project: Hadoop HBase
> Issue Type: New Feature
> Components: client
> Affects Versions: 0.20.0
> Reporter: Erik Holstad
> Assignee: Erik Holstad
> Attachments: HBASE-1617-v1.patch
>
>
> When using HBase as a Tap for Cascading it makes sense to put the result from HBase into a Tuple. The Element in the tuple needs to be comparable.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.