org.apache.cassandra.exceptions.InvalidRequestException: Unknown type ks.address_type


Solutions on the web1

Solution icon of github
Unknown type ks.address_type

Stack trace

org.apache.cassandra.exceptions.InvalidRequestException: Unknown type ks.address_type
	at org.apache.cassandra.cql3.CQL3Type$Raw$RawUT.prepare(CQL3Type.java:745)
	at org.apache.cassandra.cql3.CQL3Type$Raw.prepareInternal(CQL3Type.java:533)
	at org.apache.cassandra.schema.CQLTypeParser.parse(CQLTypeParser.java:53)
	at org.apache.cassandra.schema.SchemaKeyspace.createColumnFromRow(SchemaKeyspace.java:1011)
	at org.apache.cassandra.schema.SchemaKeyspace.lambda$fetchColumns$12(SchemaKeyspace.java:995)
	at java.lang.Iterable.forEach(Iterable.java:75)
	at org.apache.cassandra.schema.SchemaKeyspace.fetchColumns(SchemaKeyspace.java:995)
	at org.apache.cassandra.schema.SchemaKeyspace.fetchTable(SchemaKeyspace.java:949)
	at org.apache.cassandra.schema.SchemaKeyspace.fetchTables(SchemaKeyspace.java:928)
	at org.apache.cassandra.schema.SchemaKeyspace.fetchKeyspace(SchemaKeyspace.java:891)
	at org.apache.cassandra.schema.SchemaKeyspace.fetchKeyspacesWithout(SchemaKeyspace.java:868)
	at org.apache.cassandra.schema.SchemaKeyspace.fetchNonSystemKeyspaces(SchemaKeyspace.java:856)
	at org.apache.cassandra.config.Schema.loadFromDisk(Schema.java:136)
	at org.apache.cassandra.config.Schema.loadFromDiskForTool(Schema.java:145)
	at com.scylladb.tools.SSTableExport.metadataFromSSTable(SSTableExport.java:26)
	at org.apache.cassandra.tools.SSTableExport.run(SSTableExport.java:192)
	at com.scylladb.tools.SSTableExport.main(SSTableExport.java:37)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.