You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Folke Behrens (JIRA)" <ji...@apache.org> on 2010/07/12 00:07:52 UTC

[jira] Created: (CASSANDRA-1268) Decoupling from Thrift

Decoupling from Thrift
----------------------

                 Key: CASSANDRA-1268
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1268
             Project: Cassandra
          Issue Type: Improvement
          Components: Core
    Affects Versions: 0.7
            Reporter: Folke Behrens
         Attachments: 0001-Thrift-decoupling.patch.txt

Thrift's generated classes, enums and exceptions are being used throughout the core of Cassandra. The following patch removes several simpler dependencies from core packages, especially enums and exceptions.

The package org.apache.cassandra.db needs a lot more work. Before I start I need to know if I'm on the right track here?

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


[jira] Commented: (CASSANDRA-1268) Decoupling from Thrift

Posted by "Gary Dusbabek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12890306#action_12890306 ] 

Gary Dusbabek commented on CASSANDRA-1268:
------------------------------------------

The plan we've discussed is to move over to using avro structures internally, replacing thrift.  I am comfortable with that level of coupling.  Having cassandra classes that duplicates the avro/thrift generated classes is duplication that we'd end up paying for with increased serialization costs.

> Decoupling from Thrift
> ----------------------
>
>                 Key: CASSANDRA-1268
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1268
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Folke Behrens
>             Fix For: 0.7
>
>         Attachments: 0001-Thrift-decoupling.patch.txt
>
>
> Thrift's generated classes, enums and exceptions are being used throughout the core of Cassandra. The following patch removes several simpler dependencies from core packages, especially enums and exceptions.
> The package org.apache.cassandra.db needs a lot more work. Before I start I need to know if I'm on the right track here?

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


[jira] Updated: (CASSANDRA-1268) Decoupling from Thrift

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

Folke Behrens updated CASSANDRA-1268:
-------------------------------------

    Attachment:     (was: 0001-Thrift-decoupling.patch.txt)

> Decoupling from Thrift
> ----------------------
>
>                 Key: CASSANDRA-1268
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1268
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Folke Behrens
>             Fix For: 0.7
>
>
> Thrift's generated classes, enums and exceptions are being used throughout the core of Cassandra. The following patch removes several simpler dependencies from core packages, especially enums and exceptions.
> The package org.apache.cassandra.db needs a lot more work. Before I start I need to know if I'm on the right track here?

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


[jira] Commented: (CASSANDRA-1268) Decoupling from Thrift

Posted by "Gary Dusbabek (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12890755#action_12890755 ] 

Gary Dusbabek commented on CASSANDRA-1268:
------------------------------------------

It's a decision nested in well-thought pragmatism.  I think you'll find that policy adopted in much of the code base.

> Decoupling from Thrift
> ----------------------
>
>                 Key: CASSANDRA-1268
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1268
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Folke Behrens
>             Fix For: 0.7
>
>
> Thrift's generated classes, enums and exceptions are being used throughout the core of Cassandra. The following patch removes several simpler dependencies from core packages, especially enums and exceptions.
> The package org.apache.cassandra.db needs a lot more work. Before I start I need to know if I'm on the right track here?

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


[jira] Updated: (CASSANDRA-1268) Decoupling from Thrift

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

Folke Behrens updated CASSANDRA-1268:
-------------------------------------

    Attachment: 0001-Thrift-decoupling.patch.txt

> Decoupling from Thrift
> ----------------------
>
>                 Key: CASSANDRA-1268
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1268
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Folke Behrens
>         Attachments: 0001-Thrift-decoupling.patch.txt
>
>
> Thrift's generated classes, enums and exceptions are being used throughout the core of Cassandra. The following patch removes several simpler dependencies from core packages, especially enums and exceptions.
> The package org.apache.cassandra.db needs a lot more work. Before I start I need to know if I'm on the right track here?

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


[jira] Commented: (CASSANDRA-1268) Decoupling from Thrift

Posted by "Folke Behrens (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12890370#action_12890370 ] 

Folke Behrens commented on CASSANDRA-1268:
------------------------------------------

Well, that's a very bad design decision but it's your decision to make and I will accept it. Cassandra is not "library code."

> Decoupling from Thrift
> ----------------------
>
>                 Key: CASSANDRA-1268
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1268
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: Folke Behrens
>             Fix For: 0.7
>
>         Attachments: 0001-Thrift-decoupling.patch.txt
>
>
> Thrift's generated classes, enums and exceptions are being used throughout the core of Cassandra. The following patch removes several simpler dependencies from core packages, especially enums and exceptions.
> The package org.apache.cassandra.db needs a lot more work. Before I start I need to know if I'm on the right track here?

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