You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jon Hermes (JIRA)" <ji...@apache.org> on 2010/12/09 19:10:01 UTC
[jira] Commented: (CASSANDRA-1667) StorageService exportSchema
display is confusing
[ https://issues.apache.org/jira/browse/CASSANDRA-1667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969833#action_12969833 ]
Jon Hermes commented on CASSANDRA-1667:
---------------------------------------
Note: The export YAML is just written in sorted-property order (so keyspace "name" comes after "column_families"). It's fixable, but likely not worth it (esp. given that YAML schemas are deprecated).
> 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
> Assignee: Gary Dusbabek
> 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
> [default@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.