cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Lerer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-7768) Error when creating multiple CQLSSTableWriters for more than one column family in the same keyspace
Date Thu, 04 Sep 2014 08:38:51 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-7768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14121114#comment-14121114
] 

Benjamin Lerer commented on CASSANDRA-7768:
-------------------------------------------

Could you specify the branch in which you had the issue and add a unit test to CQLSSTableWriterTest
to validate your fix?

> 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
>          Components: Hadoop
>            Reporter: Paul Pak
>            Assignee: Paul Pak
>            Priority: Minor
>              Labels: cql3, hadoop
>         Attachments: trunk-7768-v1.txt
>
>
> 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
loads 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.3.4#6332)

Mime
View raw message