[ https://issues.apache.org/jira/browse/CASSANDRA-1667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis resolved CASSANDRA-1667. --------------------------------------- Resolution: Not A Problem Assignee: (was: Gary Dusbabek) Edward, if you or someone else wants to create a patch to make exported yaml more human-readable, that's fine, but otherwise I'm closing as not-a-problem. > StorageService exportSchema display is confusing > ------------------------------------------------ > > Key: CASSANDRA-1667 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1667 > Project: Cassandra > Issue Type: Wish > Components: Core > Affects Versions: 0.7 beta 2 > Reporter: Edward Capriolo > Priority: Minor > Fix For: 0.7.1 > > > If you think of the data model as keyspace the top level and column family > the second level, the output of StorageService exportSchema is confusing. It > is correct YAML. The wish would be to add spaces and/or move the name of the > keyspaces above the column families in that keyspace. > {noformat} > keyspaces: > - column_families: > - column_type: Standard > comment: '' > compare_with: org.apache.cassandra.db.marshal.BytesType > gc_grace_seconds: 864000 > keys_cached: 200000.0 > max_compaction_threshold: 32 > min_compaction_threshold: 4 > name: cf22 > preload_row_cache: false > read_repair_chance: 1.0 > rows_cached: 0.0 > name: ks22 > replica_placement_strategy: org.apache.cassandra.locator.SimpleStrategy > replication_factor: 2 > - column_families: > - column_type: Standard > comment: '' > compare_with: org.apache.cassandra.db.marshal.BytesType > gc_grace_seconds: 864000 > keys_cached: 200000.0 > max_compaction_threshold: 32 > min_compaction_threshold: 4 > name: cf33 > preload_row_cache: false > read_repair_chance: 1.0 > rows_cached: 0.0 > name: ks33 > replica_placement_strategy: org.apache.cassandra.locator.SimpleStrategy > replication_factor: 3 > [defa...@unknown] show Keyspaces > Keyspace: system > Replication Factor: 1 > Column Families: > Column Family Name: IndexInfo { > Column Family Type: Standard > Column Sorted By: org.apache.cassandra.db.marshal.UTF8Type > } > Column Family Name: Schema { > Column Family Type: Standard > Column Sorted By: org.apache.cassandra.db.marshal.UTF8Type > } > Column Family Name: Migrations { > Column Family Type: Standard > Column Sorted By: org.apache.cassandra.db.marshal.TimeUUIDType > } > Column Family Name: LocationInfo { > Column Family Type: Standard > Column Sorted By: org.apache.cassandra.db.marshal.BytesType > } > Column Family Name: HintsColumnFamily { > Column Family Type: Super > Column Sorted By: org.apache.cassandra.db.marshal.BytesType > } > Keyspace: ks22 > Replication Factor: 2 > Column Families: > Column Family Name: cf22 { > Column Family Type: Standard > Column Sorted By: org.apache.cassandra.db.marshal.BytesType > } > Keyspace: ks33 > Replication Factor: 3 > Column Families: > Column Family Name: cf33 { > Column Family Type: Standard > Column Sorted By: org.apache.cassandra.db.marshal.BytesType > } > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.