cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Batey (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-6477) Materialized Views (was: Global Indexes)
Date Tue, 07 Jul 2015 12:58:09 GMT


Christopher Batey commented on CASSANDRA-6477:

I got a lot of these in my log when playing with the branch, however the views I created worked

WARN  [CompactionExecutor:111] 2015-07-07 10:57:09,023 -
Materialized View failed to complete, sleeping 5 minutes before restarting
org.apache.cassandra.exceptions.InvalidRequestException: Missing mandatory PRIMARY KEY part
        at org.apache.cassandra.cql3.statements.RequestValidations.invalidRequest(
        at org.apache.cassandra.cql3.statements.RequestValidations.checkTrue(
        at org.apache.cassandra.cql3.statements.RequestValidations.checkNotNull(
        at org.apache.cassandra.cql3.statements.ModificationStatement.buildPartitionKeyNames(
        at org.apache.cassandra.cql3.statements.ModificationStatement.getMutations(
        at org.apache.cassandra.cql3.statements.ModificationStatement.executeInternal(
        at org.apache.cassandra.cql3.QueryProcessor.executeInternal(
        at org.apache.cassandra.db.SystemKeyspace.setMaterializedViewBuilt(
        at org.apache.cassandra.db.SystemKeyspace.finishMaterializedViewBuildStatus(
        at org.apache.cassandra.db.compaction.CompactionManager$

> Materialized Views (was: Global Indexes)
> ----------------------------------------
>                 Key: CASSANDRA-6477
>                 URL:
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: API, Core
>            Reporter: Jonathan Ellis
>            Assignee: Carl Yeksigian
>              Labels: cql
>             Fix For: 3.0 beta 1
>         Attachments:
> Local indexes are suitable for low-cardinality data, where spreading the index across
the cluster is a Good Thing.  However, for high-cardinality data, local indexes require querying
most nodes in the cluster even if only a handful of rows is returned.

This message was sent by Atlassian JIRA

View raw message