cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Kirillov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-11275) sstableloader fails with java.lang.IllegalArgumentException: flags is not a column defined in this metadata
Date Mon, 29 Feb 2016 14:10:18 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-11275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sergey Kirillov updated CASSANDRA-11275:
----------------------------------------
    Description: 
When used on a cluster with materialized view sstableloader fails with:
{noformat}
flags is not a column defined in this metadata
java.lang.IllegalArgumentException: flags is not a column defined in this metadata
        at com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:272)
        at com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:278)
        at com.datastax.driver.core.ArrayBackedRow.getIndexOf(ArrayBackedRow.java:83)
        at com.datastax.driver.core.AbstractGettableData.getSet(AbstractGettableData.java:217)
        at org.apache.cassandra.utils.NativeSSTableLoaderClient.createTableMetadata(NativeSSTableLoaderClient.java:172)
        at org.apache.cassandra.utils.NativeSSTableLoaderClient.fetchViews(NativeSSTableLoaderClient.java:157)
        at org.apache.cassandra.utils.NativeSSTableLoaderClient.init(NativeSSTableLoaderClient.java:93)
        at org.apache.cassandra.io.sstable.SSTableLoader.stream(SSTableLoader.java:159)
        at org.apache.cassandra.tools.BulkLoader.main(BulkLoader.java:103)
{noformat}

This happens because there is no column `flags` in `system_schema.views`, but NativeSSTableLoaderClient
want's to read it.

  was:
sstableloader fails with:
{noformat}
flags is not a column defined in this metadata
java.lang.IllegalArgumentException: flags is not a column defined in this metadata
        at com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:272)
        at com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:278)
        at com.datastax.driver.core.ArrayBackedRow.getIndexOf(ArrayBackedRow.java:83)
        at com.datastax.driver.core.AbstractGettableData.getSet(AbstractGettableData.java:217)
        at org.apache.cassandra.utils.NativeSSTableLoaderClient.createTableMetadata(NativeSSTableLoaderClient.java:172)
        at org.apache.cassandra.utils.NativeSSTableLoaderClient.fetchViews(NativeSSTableLoaderClient.java:157)
        at org.apache.cassandra.utils.NativeSSTableLoaderClient.init(NativeSSTableLoaderClient.java:93)
        at org.apache.cassandra.io.sstable.SSTableLoader.stream(SSTableLoader.java:159)
        at org.apache.cassandra.tools.BulkLoader.main(BulkLoader.java:103)
{noformat}

This happens because there is no column `flags` in `system_schema.views`, but NativeSSTableLoaderClient
want's to read it.


> sstableloader fails with java.lang.IllegalArgumentException: flags is not a column defined
in this metadata
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-11275
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11275
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>         Environment: ubuntu, cassandra 3.0.3
>            Reporter: Sergey Kirillov
>
> When used on a cluster with materialized view sstableloader fails with:
> {noformat}
> flags is not a column defined in this metadata
> java.lang.IllegalArgumentException: flags is not a column defined in this metadata
>         at com.datastax.driver.core.ColumnDefinitions.getAllIdx(ColumnDefinitions.java:272)
>         at com.datastax.driver.core.ColumnDefinitions.getFirstIdx(ColumnDefinitions.java:278)
>         at com.datastax.driver.core.ArrayBackedRow.getIndexOf(ArrayBackedRow.java:83)
>         at com.datastax.driver.core.AbstractGettableData.getSet(AbstractGettableData.java:217)
>         at org.apache.cassandra.utils.NativeSSTableLoaderClient.createTableMetadata(NativeSSTableLoaderClient.java:172)
>         at org.apache.cassandra.utils.NativeSSTableLoaderClient.fetchViews(NativeSSTableLoaderClient.java:157)
>         at org.apache.cassandra.utils.NativeSSTableLoaderClient.init(NativeSSTableLoaderClient.java:93)
>         at org.apache.cassandra.io.sstable.SSTableLoader.stream(SSTableLoader.java:159)
>         at org.apache.cassandra.tools.BulkLoader.main(BulkLoader.java:103)
> {noformat}
> This happens because there is no column `flags` in `system_schema.views`, but NativeSSTableLoaderClient
want's to read it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message