cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuki Morishita (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 Thu, 03 Mar 2016 00:59:18 GMT

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

Yuki Morishita updated CASSANDRA-11275:
---------------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 3.0.x)
                       (was: 3.x)
                   3.0.5
                   3.5
           Status: Resolved  (was: Ready to Commit)

Committed, thanks!

> 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
>             Fix For: 3.5, 3.0.5
>
>
> 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