cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Khashchin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-13739) Cassandra can't start because of unknown type <usertype> exception
Date Thu, 03 Aug 2017 14:48:02 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-13739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16112848#comment-16112848
] 

Andrey Khashchin commented on CASSANDRA-13739:
----------------------------------------------

Aleksey, we really have heavy dependencies between several usertypes and tables but as I know
there were no direct DDL actions against this particular usertype mentioned in the system.log
At the same time, there was VM redeployment and this fact may lead to some data corruption,
indeed.

Do we need to copy sstables related to the custom keyspace (which contains original usertype
mentioned in the log) or do we need to copy some system keyspaces (like system_schema) maybe?
Unfortunately, we have one node configuration so there are no other nodes in the cluster but
there are some similar standalone installations (QA) of Cassandra on other hosts

> Cassandra can't start because of unknown type <usertype> exception
> ------------------------------------------------------------------
>
>                 Key: CASSANDRA-13739
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13739
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core, CQL
>         Environment: Development
>            Reporter: Andrey Khashchin
>             Fix For: 3.7
>
>
> OS: CentOS Linux release 7.2.1511 (Core)
> Kernel: 3.10.0-327.36.1.el7.x86_64
> Cassandra: v 3.7
> Issue:
> Cassandra is not able to start after restart of the node with following error in system.log:
> ERROR [main] 2017-08-03 12:10:28,633 CassandraDaemon.java:731 - Exception encountered
during startup
> org.apache.cassandra.exceptions.InvalidRequestException: Unknown type <name of user
type>
>         at org.apache.cassandra.cql3.CQL3Type$Raw$RawUT.prepare(CQL3Type.java:751) ~[apache-cassandra-3.7.0.jar:3.7.0]
>         at org.apache.cassandra.cql3.CQL3Type$Raw$RawCollection.prepare(CQL3Type.java:667)
~[apache-cassandra-3.7.0.jar:3.7.0]
>         at org.apache.cassandra.cql3.CQL3Type$Raw$RawCollection.prepareInternal(CQL3Type.java:644)
~[apache-cassandra-3.7.0.jar:3.7.0]
>         at org.apache.cassandra.schema.Types$RawBuilder$RawUDT.lambda$prepare$34(Types.java:313)
~[apache-cassandra-3.7.0.jar:3.7.0]
>         at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
~[na:1.8.0_102]
>         at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
~[na:1.8.0_102]
>         at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) ~[na:1.8.0_102]
>         at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
~[na:1.8.0_102]
>         at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
~[na:1.8.0_102]
>         at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[na:1.8.0_102]
>         at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) ~[na:1.8.0_102]
>         at org.apache.cassandra.schema.Types$RawBuilder$RawUDT.prepare(Types.java:314)
~[apache-cassandra-3.7.0.jar:3.7.0]
>         at org.apache.cassandra.schema.Types$RawBuilder.build(Types.java:263) ~[apache-cassandra-3.7.0.jar:3.7.0]
>         at org.apache.cassandra.schema.SchemaKeyspace.fetchTypes(SchemaKeyspace.java:920)
~[apache-cassandra-3.7.0.jar:3.7.0]
>         at org.apache.cassandra.schema.SchemaKeyspace.fetchKeyspace(SchemaKeyspace.java:891)
~[apache-cassandra-3.7.0.jar:3.7.0]
>         at org.apache.cassandra.schema.SchemaKeyspace.fetchKeyspacesWithout(SchemaKeyspace.java:869)
~[apache-cassandra-3.7.0.jar:3.7.0]
>         at org.apache.cassandra.schema.SchemaKeyspace.fetchNonSystemKeyspaces(SchemaKeyspace.java:857)
~[apache-cassandra-3.7.0.jar:3.7.0]
>         at org.apache.cassandra.config.Schema.loadFromDisk(Schema.java:136) ~[apache-cassandra-3.7.0.jar:3.7.0]
>         at org.apache.cassandra.config.Schema.loadFromDisk(Schema.java:126) ~[apache-cassandra-3.7.0.jar:3.7.0]
>         at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:251)
[apache-cassandra-3.7.0.jar:3.7.0]
>         at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:585)
[apache-cassandra-3.7.0.jar:3.7.0]
>         at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:714)
[apache-cassandra-3.7.0.jar:3.7.0]
> Thank you for your help!



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message