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

Creating a keyspace SYSTEM cause issue

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.8.5
    • None
    • None
    • Windows

    • Low

    Description

      It's possible to create a keyspace SYSTEM but impossible to do anything with it after.

      I know naming a keyspace SYSTEM is probably not a good idea but I was testing something on a test cluster and found this bug. Step to reproduce:

      connect localhost/9160;
      create keyspace SYSTEM;
      use SYSTEM;
      create column family test
      with comparator = UTF8Type and subcomparator = UTF8Type
      and default_validation_class = UTF8Type
      and column_metadata = [

      {column_name: title, validation_class: UTF8Type}

      ,

      {column_name: publisher, validation_class: UTF8Type}

      ];

      And you get:

      system keyspace is not user-modifiable

      Although SYSTEM keyspace have been created and is a different keyspace as system.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jbellis Jonathan Ellis Assign to me
            wajam Sébastien Giroux
            Jonathan Ellis
            Pavel Yaskevich
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment