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

Cassandra cli strategy options should be a hash not an array of hashes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.0.0
    • Legacy/Tools
    • None

    Description

      Currently strategy options are specified as an array of hashes:

      create keyspace Keyspace2
          with placement_strategy = 'org.apache.cassandra.locator.SimpleStrategy'
          and strategy_options = [{replication_factor:4}];
      

      this should be:

      create keyspace Keyspace2
          with placement_strategy = 'org.apache.cassandra.locator.SimpleStrategy'
          and strategy_options = {replication_factor:4};
      

      Also, for column_metadata we need sub hashes for CASSANDRA-3078

      Attachments

        Activity

          People

            tjake T Jake Luciani
            tjake T Jake Luciani
            T Jake Luciani
            Pavel Yaskevich
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: