You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Nirmal Ranganathan (JIRA)" <ji...@apache.org> on 2010/08/03 20:14:15 UTC

[jira] Created: (CASSANDRA-1352) Update py_stress to reflect udpated KsDef params

Update py_stress to reflect udpated KsDef params
------------------------------------------------

                 Key: CASSANDRA-1352
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1352
             Project: Cassandra
          Issue Type: Bug
          Components: Contrib
    Affects Versions: 0.7 beta 1
            Reporter: Nirmal Ranganathan
            Assignee: Nirmal Ranganathan
            Priority: Trivial
             Fix For: 0.7 beta 1


The following occurs while running stress.py. 

Traceback (most recent call last):
  File "stress.py", line 387, in <module>
    make_keyspaces()
  File "stress.py", line 160, in make_keyspaces
    client.system_add_keyspace(keyspace)
  File "/Users/nirmal.ranganathan/Documents/workspace/cassandra.git/interface/thrift/gen-py/cassandra/Cassandra.py", line 1288, in system_add_keyspace
    self.send_system_add_keyspace(ks_def)
  File "/Users/nirmal.ranganathan/Documents/workspace/cassandra.git/interface/thrift/gen-py/cassandra/Cassandra.py", line 1295, in send_system_add_keyspace
    args.write(self._oprot)
  File "/Users/nirmal.ranganathan/Documents/workspace/cassandra.git/interface/thrift/gen-py/cassandra/Cassandra.py", line 5745, in write
    oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
SystemError: Objects/dictobject.c:1562: bad argument to internal function

KsDef added an extra parameter and needs to be updated 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-1352) Update py_stress to reflect udpated KsDef params

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

Nirmal Ranganathan updated CASSANDRA-1352:
------------------------------------------

    Attachment: 1352.patch

> Update py_stress to reflect udpated KsDef params
> ------------------------------------------------
>
>                 Key: CASSANDRA-1352
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1352
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Contrib
>    Affects Versions: 0.7 beta 1
>            Reporter: Nirmal Ranganathan
>            Assignee: Nirmal Ranganathan
>            Priority: Trivial
>             Fix For: 0.7 beta 1
>
>         Attachments: 1352.patch
>
>
> The following occurs while running stress.py. 
> Traceback (most recent call last):
>   File "stress.py", line 387, in <module>
>     make_keyspaces()
>   File "stress.py", line 160, in make_keyspaces
>     client.system_add_keyspace(keyspace)
>   File "/Users/nirmal.ranganathan/Documents/workspace/cassandra.git/interface/thrift/gen-py/cassandra/Cassandra.py", line 1288, in system_add_keyspace
>     self.send_system_add_keyspace(ks_def)
>   File "/Users/nirmal.ranganathan/Documents/workspace/cassandra.git/interface/thrift/gen-py/cassandra/Cassandra.py", line 1295, in send_system_add_keyspace
>     args.write(self._oprot)
>   File "/Users/nirmal.ranganathan/Documents/workspace/cassandra.git/interface/thrift/gen-py/cassandra/Cassandra.py", line 5745, in write
>     oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
> SystemError: Objects/dictobject.c:1562: bad argument to internal function
> KsDef added an extra parameter and needs to be updated 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-1352) Update py_stress to reflect udpated KsDef params

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

Hudson commented on CASSANDRA-1352:
-----------------------------------

Integrated in Cassandra #509 (See [http://hudson.zones.apache.org/hudson/job/Cassandra/509/])
    Use keyword args for CfDef/KsDef to futureproof.  Patch by  Nirmal Ranganathan, reviewed by brandonwilliams for CASSANDRA-1352


> Update py_stress to reflect udpated KsDef params
> ------------------------------------------------
>
>                 Key: CASSANDRA-1352
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1352
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Contrib
>    Affects Versions: 0.7 beta 1
>            Reporter: Nirmal Ranganathan
>            Assignee: Nirmal Ranganathan
>            Priority: Trivial
>             Fix For: 0.7 beta 1
>
>         Attachments: 1352-v2.patch, 1352.patch
>
>
> The following occurs while running stress.py. 
> Traceback (most recent call last):
>   File "stress.py", line 387, in <module>
>     make_keyspaces()
>   File "stress.py", line 160, in make_keyspaces
>     client.system_add_keyspace(keyspace)
>   File "/Users/nirmal.ranganathan/Documents/workspace/cassandra.git/interface/thrift/gen-py/cassandra/Cassandra.py", line 1288, in system_add_keyspace
>     self.send_system_add_keyspace(ks_def)
>   File "/Users/nirmal.ranganathan/Documents/workspace/cassandra.git/interface/thrift/gen-py/cassandra/Cassandra.py", line 1295, in send_system_add_keyspace
>     args.write(self._oprot)
>   File "/Users/nirmal.ranganathan/Documents/workspace/cassandra.git/interface/thrift/gen-py/cassandra/Cassandra.py", line 5745, in write
>     oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
> SystemError: Objects/dictobject.c:1562: bad argument to internal function
> KsDef added an extra parameter and needs to be updated 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-1352) Update py_stress to reflect udpated KsDef params

Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895000#action_12895000 ] 

Brandon Williams commented on CASSANDRA-1352:
---------------------------------------------

This is the second time we've had to fix this.  Can we change the ks/cf definitions to use kwargs as much as possible to avoid any future problems?

> Update py_stress to reflect udpated KsDef params
> ------------------------------------------------
>
>                 Key: CASSANDRA-1352
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1352
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Contrib
>    Affects Versions: 0.7 beta 1
>            Reporter: Nirmal Ranganathan
>            Assignee: Nirmal Ranganathan
>            Priority: Trivial
>             Fix For: 0.7 beta 1
>
>         Attachments: 1352.patch
>
>
> The following occurs while running stress.py. 
> Traceback (most recent call last):
>   File "stress.py", line 387, in <module>
>     make_keyspaces()
>   File "stress.py", line 160, in make_keyspaces
>     client.system_add_keyspace(keyspace)
>   File "/Users/nirmal.ranganathan/Documents/workspace/cassandra.git/interface/thrift/gen-py/cassandra/Cassandra.py", line 1288, in system_add_keyspace
>     self.send_system_add_keyspace(ks_def)
>   File "/Users/nirmal.ranganathan/Documents/workspace/cassandra.git/interface/thrift/gen-py/cassandra/Cassandra.py", line 1295, in send_system_add_keyspace
>     args.write(self._oprot)
>   File "/Users/nirmal.ranganathan/Documents/workspace/cassandra.git/interface/thrift/gen-py/cassandra/Cassandra.py", line 5745, in write
>     oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
> SystemError: Objects/dictobject.c:1562: bad argument to internal function
> KsDef added an extra parameter and needs to be updated 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-1352) Update py_stress to reflect udpated KsDef params

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

Nirmal Ranganathan updated CASSANDRA-1352:
------------------------------------------

    Attachment: 1352-v2.patch

Good thought, I've updated v2 to use kwargs.

> Update py_stress to reflect udpated KsDef params
> ------------------------------------------------
>
>                 Key: CASSANDRA-1352
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1352
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Contrib
>    Affects Versions: 0.7 beta 1
>            Reporter: Nirmal Ranganathan
>            Assignee: Nirmal Ranganathan
>            Priority: Trivial
>             Fix For: 0.7 beta 1
>
>         Attachments: 1352-v2.patch, 1352.patch
>
>
> The following occurs while running stress.py. 
> Traceback (most recent call last):
>   File "stress.py", line 387, in <module>
>     make_keyspaces()
>   File "stress.py", line 160, in make_keyspaces
>     client.system_add_keyspace(keyspace)
>   File "/Users/nirmal.ranganathan/Documents/workspace/cassandra.git/interface/thrift/gen-py/cassandra/Cassandra.py", line 1288, in system_add_keyspace
>     self.send_system_add_keyspace(ks_def)
>   File "/Users/nirmal.ranganathan/Documents/workspace/cassandra.git/interface/thrift/gen-py/cassandra/Cassandra.py", line 1295, in send_system_add_keyspace
>     args.write(self._oprot)
>   File "/Users/nirmal.ranganathan/Documents/workspace/cassandra.git/interface/thrift/gen-py/cassandra/Cassandra.py", line 5745, in write
>     oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
> SystemError: Objects/dictobject.c:1562: bad argument to internal function
> KsDef added an extra parameter and needs to be updated here.

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