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

On the CLI, creating or updating a keyspace to use the NetworkTopologyStrategy breaks "show keyspaces;"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 0.7.1
    • None
    • None
    • Normal

    Description

      To reproduce:

      • Start fresh.
      • Run "show keyspaces;"
      • Run "create keyspace Keyspace1 with placement_strategy='org.apache.cassandra.locator.NetworkTopologyStrategy';"
      • Run "show keyspaces;"

      Note how before it showed the system keyspace. After it shows just:
      Keyspace: Keyspace1:
      Replication Strategy: org.apache.cassandra.locator.NetworkTopologyStrategy
      null

      If you have multiple keyspaces, it will hide those as well. Also, if you create the keyspace and then update it with NetworkTopologyStrategy, the same thing will happen.

      Attachments

        1. CASSANDRA-2049.patch
          1 kB
          Pavel Yaskevich

        Activity

          People

            xedin Pavel Yaskevich
            jeromatron Jeremy Hanna
            Pavel Yaskevich
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 20m
                20m
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m