You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Johan Oskarsson (JIRA)" <ji...@apache.org> on 2009/04/29 15:01:34 UTC

[jira] Created: (CASSANDRA-116) Supply a thrift generated python client

Supply a thrift generated python client
---------------------------------------

                 Key: CASSANDRA-116
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-116
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Johan Oskarsson
            Priority: Minor
             Fix For: 0.3


To help first time users try out Cassandra we can remove the need for installing and building Thrift by supplying generated python files that can be used from the command line using this guide: http://cwiki.apache.org/confluence/display/CSDR/ThriftInterface

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


[jira] Commented: (CASSANDRA-116) Supply a thrift generated python client

Posted by "Jun Rao (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704197#action_12704197 ] 

Jun Rao commented on CASSANDRA-116:
-----------------------------------

I think embedding generated python code is convenient for users. +1 from me.

> Supply a thrift generated python client
> ---------------------------------------
>
>                 Key: CASSANDRA-116
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-116
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Johan Oskarsson
>            Assignee: Johan Oskarsson
>            Priority: Minor
>             Fix For: 0.3
>
>         Attachments: CASSANDRA-116.patch
>
>
> To help first time users try out Cassandra we can remove the need for installing and building Thrift by supplying generated python files that can be used from the command line using this guide: http://cwiki.apache.org/confluence/display/CSDR/ThriftInterface

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


[jira] Updated: (CASSANDRA-116) Supply a thrift generated python client

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

Johan Oskarsson updated CASSANDRA-116:
--------------------------------------

    Attachment: CASSANDRA-116.patch

Updated patch with the missing files

> Supply a thrift generated python client
> ---------------------------------------
>
>                 Key: CASSANDRA-116
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-116
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Johan Oskarsson
>            Assignee: Johan Oskarsson
>            Priority: Minor
>             Fix For: 0.3
>
>         Attachments: CASSANDRA-116.patch, CASSANDRA-116.patch
>
>
> To help first time users try out Cassandra we can remove the need for installing and building Thrift by supplying generated python files that can be used from the command line using this guide: http://cwiki.apache.org/confluence/display/CSDR/ThriftInterface

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


[jira] Commented: (CASSANDRA-116) Supply a thrift generated python client

Posted by "Sandeep Tata (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704443#action_12704443 ] 

Sandeep Tata commented on CASSANDRA-116:
----------------------------------------

I was thinking ... perhaps the Wiki might be a good place to share a generated python thrift interface?

> Supply a thrift generated python client
> ---------------------------------------
>
>                 Key: CASSANDRA-116
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-116
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Johan Oskarsson
>            Assignee: Johan Oskarsson
>            Priority: Minor
>             Fix For: 0.3
>
>         Attachments: CASSANDRA-116.patch, CASSANDRA-116.patch
>
>
> To help first time users try out Cassandra we can remove the need for installing and building Thrift by supplying generated python files that can be used from the command line using this guide: http://cwiki.apache.org/confluence/display/CSDR/ThriftInterface

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


[jira] Commented: (CASSANDRA-116) Supply a thrift generated python client

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704144#action_12704144 ] 

Jonathan Ellis commented on CASSANDRA-116:
------------------------------------------

What if we have the build script do a thrift -gen py for the tarball, but don't include it in the source tree?

I'd really like to avoid checking more generated artifacts into svn if possible.

> Supply a thrift generated python client
> ---------------------------------------
>
>                 Key: CASSANDRA-116
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-116
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Johan Oskarsson
>            Assignee: Johan Oskarsson
>            Priority: Minor
>             Fix For: 0.3
>
>         Attachments: CASSANDRA-116.patch
>
>
> To help first time users try out Cassandra we can remove the need for installing and building Thrift by supplying generated python files that can be used from the command line using this guide: http://cwiki.apache.org/confluence/display/CSDR/ThriftInterface

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


[jira] Commented: (CASSANDRA-116) Supply a thrift generated python client

Posted by "Eric Evans (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704169#action_12704169 ] 

Eric Evans commented on CASSANDRA-116:
--------------------------------------

-1 from me for embedding generated python and/or the python thrift library in either the source tree and/or a release tarball.


> Supply a thrift generated python client
> ---------------------------------------
>
>                 Key: CASSANDRA-116
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-116
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Johan Oskarsson
>            Assignee: Johan Oskarsson
>            Priority: Minor
>             Fix For: 0.3
>
>         Attachments: CASSANDRA-116.patch
>
>
> To help first time users try out Cassandra we can remove the need for installing and building Thrift by supplying generated python files that can be used from the command line using this guide: http://cwiki.apache.org/confluence/display/CSDR/ThriftInterface

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


[jira] Commented: (CASSANDRA-116) Supply a thrift generated python client

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704669#action_12704669 ] 

Jonathan Ellis commented on CASSANDRA-116:
------------------------------------------

+1.  if you want to add this as an attachment to http://cwiki.apache.org/confluence/display/CSDR/ThriftInterface, great.  That and making the CLI easy to use (see CASSANDRA-117) will satisfy the goal here I think.

> Supply a thrift generated python client
> ---------------------------------------
>
>                 Key: CASSANDRA-116
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-116
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Johan Oskarsson
>            Assignee: Johan Oskarsson
>            Priority: Minor
>             Fix For: 0.3
>
>         Attachments: CASSANDRA-116.patch, CASSANDRA-116.patch
>
>
> To help first time users try out Cassandra we can remove the need for installing and building Thrift by supplying generated python files that can be used from the command line using this guide: http://cwiki.apache.org/confluence/display/CSDR/ThriftInterface

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


[jira] Commented: (CASSANDRA-116) Supply a thrift generated python client

Posted by "Johan Oskarsson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704201#action_12704201 ] 

Johan Oskarsson commented on CASSANDRA-116:
-------------------------------------------

As mentioned on irc we could remove these files once thrift is readily available as a package in the common linux dists, but for now I think it is useful. It seems the current patch is missing some files though, I'll reroll it.

> Supply a thrift generated python client
> ---------------------------------------
>
>                 Key: CASSANDRA-116
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-116
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Johan Oskarsson
>            Assignee: Johan Oskarsson
>            Priority: Minor
>             Fix For: 0.3
>
>         Attachments: CASSANDRA-116.patch
>
>
> To help first time users try out Cassandra we can remove the need for installing and building Thrift by supplying generated python files that can be used from the command line using this guide: http://cwiki.apache.org/confluence/display/CSDR/ThriftInterface

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


[jira] Commented: (CASSANDRA-116) Supply a thrift generated python client

Posted by "Johan Oskarsson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704209#action_12704209 ] 

Johan Oskarsson commented on CASSANDRA-116:
-------------------------------------------

Most users will end up accessing Cassandra from thrift anyway so I think it's a good place to start.
But to be honest I haven't tried the CLI interface myself, if someone wants to describe how it works here we can decide if it is a better route.

> Supply a thrift generated python client
> ---------------------------------------
>
>                 Key: CASSANDRA-116
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-116
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Johan Oskarsson
>            Assignee: Johan Oskarsson
>            Priority: Minor
>             Fix For: 0.3
>
>         Attachments: CASSANDRA-116.patch, CASSANDRA-116.patch
>
>
> To help first time users try out Cassandra we can remove the need for installing and building Thrift by supplying generated python files that can be used from the command line using this guide: http://cwiki.apache.org/confluence/display/CSDR/ThriftInterface

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


[jira] Commented: (CASSANDRA-116) Supply a thrift generated python client

Posted by "Sandeep Tata (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704207#action_12704207 ] 

Sandeep Tata commented on CASSANDRA-116:
----------------------------------------

Does the python client make it much easier for a novice user vs using the CLI interface with the "thrift get/set" commands ? I haven't tried them, but I'm guessing they work. 

> Supply a thrift generated python client
> ---------------------------------------
>
>                 Key: CASSANDRA-116
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-116
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Johan Oskarsson
>            Assignee: Johan Oskarsson
>            Priority: Minor
>             Fix For: 0.3
>
>         Attachments: CASSANDRA-116.patch, CASSANDRA-116.patch
>
>
> To help first time users try out Cassandra we can remove the need for installing and building Thrift by supplying generated python files that can be used from the command line using this guide: http://cwiki.apache.org/confluence/display/CSDR/ThriftInterface

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


[jira] Commented: (CASSANDRA-116) Supply a thrift generated python client

Posted by "Johan Oskarsson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704108#action_12704108 ] 

Johan Oskarsson commented on CASSANDRA-116:
-------------------------------------------

Normally I prefer not to supply generated files, but since thrift can be a bit of a pain to compile and since we already do this for Java files giving the user an easy to use command line tool seems to outweigh those concerns.

> Supply a thrift generated python client
> ---------------------------------------
>
>                 Key: CASSANDRA-116
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-116
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Johan Oskarsson
>            Priority: Minor
>             Fix For: 0.3
>
>
> To help first time users try out Cassandra we can remove the need for installing and building Thrift by supplying generated python files that can be used from the command line using this guide: http://cwiki.apache.org/confluence/display/CSDR/ThriftInterface

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


[jira] Issue Comment Edited: (CASSANDRA-116) Supply a thrift generated python client

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704669#action_12704669 ] 

Jonathan Ellis edited comment on CASSANDRA-116 at 4/30/09 8:30 AM:
-------------------------------------------------------------------

+1.  if you want to add this as an attachment to http://cwiki.apache.org/confluence/display/CSDR/ThriftInterface , great.  That and making the CLI easy to use (see CASSANDRA-117) will satisfy the goal here I think.

      was (Author: jbellis):
    +1.  if you want to add this as an attachment to http://cwiki.apache.org/confluence/display/CSDR/ThriftInterface, great.  That and making the CLI easy to use (see CASSANDRA-117) will satisfy the goal here I think.
  
> Supply a thrift generated python client
> ---------------------------------------
>
>                 Key: CASSANDRA-116
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-116
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Johan Oskarsson
>            Assignee: Johan Oskarsson
>            Priority: Minor
>             Fix For: 0.3
>
>         Attachments: CASSANDRA-116.patch, CASSANDRA-116.patch
>
>
> To help first time users try out Cassandra we can remove the need for installing and building Thrift by supplying generated python files that can be used from the command line using this guide: http://cwiki.apache.org/confluence/display/CSDR/ThriftInterface

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


[jira] Updated: (CASSANDRA-116) Supply a thrift generated python client

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

Johan Oskarsson updated CASSANDRA-116:
--------------------------------------

    Attachment: CASSANDRA-116.patch

Adds a thrift generated python command line client, this is also copied to the release tarballs.
Code was generated using thrift r769653 from 2009-04-29

> Supply a thrift generated python client
> ---------------------------------------
>
>                 Key: CASSANDRA-116
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-116
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Johan Oskarsson
>            Priority: Minor
>             Fix For: 0.3
>
>         Attachments: CASSANDRA-116.patch
>
>
> To help first time users try out Cassandra we can remove the need for installing and building Thrift by supplying generated python files that can be used from the command line using this guide: http://cwiki.apache.org/confluence/display/CSDR/ThriftInterface

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