You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jeremy Hanna (JIRA)" <ji...@apache.org> on 2010/11/10 19:33:13 UTC

[jira] Created: (CASSANDRA-1725) word_count/pig loadfunc dpn match the ColumnFamilyInputFormat ByteBuffer signature

word_count/pig loadfunc dpn match the ColumnFamilyInputFormat ByteBuffer signature
----------------------------------------------------------------------------------

                 Key: CASSANDRA-1725
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1725
             Project: Cassandra
          Issue Type: Bug
            Reporter: Jeremy Hanna




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CASSANDRA-1725) word_count/pig loadfunc don't match the ColumnFamilyInputFormat ByteBuffer signature

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis resolved CASSANDRA-1725.
---------------------------------------

    Resolution: Fixed
      Reviewer: jeromatron
      Assignee: T Jake Luciani

committed

> word_count/pig loadfunc don't match the ColumnFamilyInputFormat ByteBuffer signature
> ------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1725
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1725
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Contrib, Hadoop
>            Reporter: Jeremy Hanna
>            Assignee: T Jake Luciani
>             Fix For: 0.7.0
>
>         Attachments: 1725_v1.txt
>
>
> In recent commits, ColumnFamilyInputFormat's signature has changed to use ByteBuffers.  This signature needs to match the word_count example and the pig load func.  There are a few options:
> 1) The ColumnFamilyInputFormat signature itself didn't need to change - it could translate from byte[] to ByteBuffer internally.
> 2) Change the word_count and pig load func to use ByteBuffer
> 3) Just use the AvroColumnFamilyInputFormat.
> I think option 1 would be best for now since that's less of a change.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-1725) word_count/pig loadfunc don't match the ColumnFamilyInputFormat ByteBuffer signature

Posted by "T Jake Luciani (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

T Jake Luciani updated CASSANDRA-1725:
--------------------------------------

    Attachment: 1725_v1.txt

Tested both pig and word_count now work

> word_count/pig loadfunc don't match the ColumnFamilyInputFormat ByteBuffer signature
> ------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1725
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1725
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Contrib, Hadoop
>            Reporter: Jeremy Hanna
>             Fix For: 0.7.0
>
>         Attachments: 1725_v1.txt
>
>
> In recent commits, ColumnFamilyInputFormat's signature has changed to use ByteBuffers.  This signature needs to match the word_count example and the pig load func.  There are a few options:
> 1) The ColumnFamilyInputFormat signature itself didn't need to change - it could translate from byte[] to ByteBuffer internally.
> 2) Change the word_count and pig load func to use ByteBuffer
> 3) Just use the AvroColumnFamilyInputFormat.
> I think option 1 would be best for now since that's less of a change.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CASSANDRA-1725) word_count/pig loadfunc don't match the ColumnFamilyInputFormat ByteBuffer signature

Posted by "Jeremy Hanna (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12930701#action_12930701 ] 

Jeremy Hanna commented on CASSANDRA-1725:
-----------------------------------------

Also, would be nice to have the pig load func as part of core so that we aren't bitten by this.

> word_count/pig loadfunc don't match the ColumnFamilyInputFormat ByteBuffer signature
> ------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1725
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1725
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Contrib, Hadoop
>            Reporter: Jeremy Hanna
>             Fix For: 0.7.0
>
>
> In recent commits, ColumnFamilyInputFormat's signature has changed to use ByteBuffers.  This signature needs to match the word_count example and the pig load func.  There are a few options:
> 1) The ColumnFamilyInputFormat signature itself didn't need to change - it could translate from byte[] to ByteBuffer internally.
> 2) Change the word_count and pig load func to use ByteBuffer
> 3) Just use the AvroColumnFamilyInputFormat.
> I think option 1 would be best for now since that's less of a change.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-1725) word_count/pig loadfunc don't match the ColumnFamilyInputFormat ByteBuffer signature

Posted by "Jeremy Hanna (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeremy Hanna updated CASSANDRA-1725:
------------------------------------

      Component/s: Hadoop
                   Contrib
      Description: 
In recent commits, ColumnFamilyInputFormat's signature has changed to use ByteBuffers.  This signature needs to match the word_count example and the pig load func.  There are a few options:
1) The ColumnFamilyInputFormat signature itself didn't need to change - it could translate from byte[] to ByteBuffer internally.
2) Change the word_count and pig load func to use ByteBuffer
3) Just use the AvroColumnFamilyInputFormat.

I think option 1 would be best for now since that's less of a change.
    Fix Version/s: 0.7.0
          Summary: word_count/pig loadfunc don't match the ColumnFamilyInputFormat ByteBuffer signature  (was: word_count/pig loadfunc dpn match the ColumnFamilyInputFormat ByteBuffer signature)

> word_count/pig loadfunc don't match the ColumnFamilyInputFormat ByteBuffer signature
> ------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1725
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1725
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Contrib, Hadoop
>            Reporter: Jeremy Hanna
>             Fix For: 0.7.0
>
>
> In recent commits, ColumnFamilyInputFormat's signature has changed to use ByteBuffers.  This signature needs to match the word_count example and the pig load func.  There are a few options:
> 1) The ColumnFamilyInputFormat signature itself didn't need to change - it could translate from byte[] to ByteBuffer internally.
> 2) Change the word_count and pig load func to use ByteBuffer
> 3) Just use the AvroColumnFamilyInputFormat.
> I think option 1 would be best for now since that's less of a change.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CASSANDRA-1725) word_count/pig loadfunc don't match the ColumnFamilyInputFormat ByteBuffer signature

Posted by "Jeremy Hanna (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12930753#action_12930753 ] 

Jeremy Hanna commented on CASSANDRA-1725:
-----------------------------------------

tested both - work fine.

+1

hopefully this won't change again in the future - so that people's cassandra+hadoop code doesn't have to change much.

> word_count/pig loadfunc don't match the ColumnFamilyInputFormat ByteBuffer signature
> ------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1725
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1725
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Contrib, Hadoop
>            Reporter: Jeremy Hanna
>             Fix For: 0.7.0
>
>         Attachments: 1725_v1.txt
>
>
> In recent commits, ColumnFamilyInputFormat's signature has changed to use ByteBuffers.  This signature needs to match the word_count example and the pig load func.  There are a few options:
> 1) The ColumnFamilyInputFormat signature itself didn't need to change - it could translate from byte[] to ByteBuffer internally.
> 2) Change the word_count and pig load func to use ByteBuffer
> 3) Just use the AvroColumnFamilyInputFormat.
> I think option 1 would be best for now since that's less of a change.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.