[
https://issues.apache.org/jira/browse/CASSANDRA-14468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16497902#comment-16497902
]
Wade Simmons commented on CASSANDRA-14468:
------------------------------------------
Ok I've dug a bit further and found out my simplified schema will not reproduce
it. After running a debugger, it appears that the issue somehow related to
ColumnIdentifier.internedInstances. For some reason, some entries in this map
have their "text" set to the actual name of the column (like "foo") and some
have their text set to the hex bytes of the name (like "666f6f"). I think the
issue is that the InternedKey only matches on the bytes of the column name, so
both lookups with "foo" and "666f6f" will pull the same interned entry from the
map. The stacktrace happens when the schema has the hex byte version of the
name, but the internedmap has the ascii version.
My current guess is there are similar column names in other tables and they are
getting interned incorrectly. I'll see if I can dig into this more.
> "Unable to parse targets for index" on upgrade to Cassandra 3.0.10-3.0.16
> -------------------------------------------------------------------------
>
> Key: CASSANDRA-14468
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14468
> Project: Cassandra
> Issue Type: Bug
> Reporter: Wade Simmons
> Priority: Major
>
> I amĀ attemptingĀ to upgrade from Cassandra 2.2.10 to 3.0.16. I am getting this
> error:
> {code}
> org.apache.cassandra.exceptions.ConfigurationException: Unable to parse
> targets for index idx_foo ("666f6f")
> at
> org.apache.cassandra.index.internal.CassandraIndex.parseTarget(CassandraIndex.java:800)
> ~[apache-cassandra-3.0.16.jar:3.0.16]
> at
> org.apache.cassandra.index.internal.CassandraIndex.indexCfsMetadata(CassandraIndex.java:747)
> ~[apache-cassandra-3.0.16.jar:3.0.16]
> at
> org.apache.cassandra.db.ColumnFamilyStore.scrubDataDirectories(ColumnFamilyStore.java:645)
> ~[apache-cassandra-3.0.16.jar:3.0.16]
> at
> org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:251)
> [apache-cassandra-3.0.16.jar:3.0.16]
> at
> org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:569)
> [apache-cassandra-3.0.16.jar:3.0.16]
> at
> org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:697)
> [apache-cassandra-3.0.16.jar:3.0.16]
> {code}
> It looks like this might be related to CASSANDRA-14104 that was just added to
> 3.0.16
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]