Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-1352

Update py_stress to reflect udpated KsDef params

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.7 beta 1
    • None
    • None
    • Low

    Description

      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.

      Attachments

        1. 1352.patch
          1.0 kB
          Nirmal Ranganathan
        2. 1352-v2.patch
          1 kB
          Nirmal Ranganathan

        Activity

          People

            rnirmal Nirmal Ranganathan
            rnirmal Nirmal Ranganathan
            Nirmal Ranganathan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: