[
https://issues.apache.org/jira/browse/CASSANDRA-7768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul Pak updated CASSANDRA-7768:
--------------------------------
Description: The reason why this occurs is if the keyspace has already been
loaded (due to another column family being previously loaded in the same
keyspace), CQLSSTableWriter builder only loades the column family via
Schema.load(CFMetaData). However, Schema.load(CFMetaData) only adds to the
Schema.cfIdMap without making the proper addition to the CFMetaData map
belonging to the KSMetaData map. (was: The reason why this occurs is if the
keyspace has already been loaded (due to another column family being previously
loaded), CQLSSTableWriter builder only loades the column family via
Schema.load(CFMetaData). However, Schema.load(CFMetaData) only adds to the
Schema.cfIdMap without making the proper addition to the CFMetaData map
belonging to the KSMetaData map.)
> Error when creating multiple CQLSSTableWriters for more than one column
> family in the same keyspace
> ---------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-7768
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7768
> Project: Cassandra
> Issue Type: Bug
> Reporter: Paul Pak
> Assignee: Paul Pak
> Priority: Minor
>
> The reason why this occurs is if the keyspace has already been loaded (due to
> another column family being previously loaded in the same keyspace),
> CQLSSTableWriter builder only loades the column family via
> Schema.load(CFMetaData). However, Schema.load(CFMetaData) only adds to the
> Schema.cfIdMap without making the proper addition to the CFMetaData map
> belonging to the KSMetaData map.
--
This message was sent by Atlassian JIRA
(v6.2#6252)