cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lyuben Todorov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6699) NPE in migration stage on trunk
Date Fri, 21 Feb 2014 16:50:19 GMT

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

Lyuben Todorov commented on CASSANDRA-6699:
-------------------------------------------

[~brandon.williams] What cluster did you run the stress on? Im running {{./cassandra-stress
legacy}} from trunk on a 2dc 4 node cluster (also trunk) but couldn't repro.

> NPE in migration stage on trunk
> -------------------------------
>
>                 Key: CASSANDRA-6699
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6699
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Brandon Williams
>            Assignee: Lyuben Todorov
>             Fix For: 2.1 beta2
>
>
> Simple to reproduce, start a cluster and run legacy stress against it:
> {noformat}
> ERROR 12:56:12 Error occurred during processing of message.
> java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.NullPointerException
>  at org.apache.cassandra.utils.FBUtilities.waitOnFuture(FBUtilities.java:411) ~[main/:na]
>  at org.apache.cassandra.service.MigrationManager.announce(MigrationManager.java:281)
~[main/:na]
>  at org.apache.cassandra.service.MigrationManager.announceNewColumnFamily(MigrationManager.java:211)
~[main/:na]
>  at org.apache.cassandra.cql3.statements.CreateTableStatement.announceMigration(CreateTableStatement.java:105)
~[main/:na]
>  at org.apache.cassandra.cql3.statements.SchemaAlteringStatement.execute(SchemaAlteringStatement.java:71)
~[main/:na]
>  at org.apache.cassandra.cql3.QueryProcessor.processStatement(QueryProcessor.java:180)
~[main/:na]
>  at org.apache.cassandra.cql3.QueryProcessor.process(QueryProcessor.java:214) ~[main/:na]
>  at org.apache.cassandra.cql3.QueryProcessor.process(QueryProcessor.java:204) ~[main/:na]
>  at org.apache.cassandra.thrift.CassandraServer.execute_cql3_query(CassandraServer.java:1973)
~[main/:na]
>  at org.apache.cassandra.thrift.Cassandra$Processor$execute_cql3_query.getResult(Cassandra.java:4486)
~[thrift/:na]
>  at org.apache.cassandra.thrift.Cassandra$Processor$execute_cql3_query.getResult(Cassandra.java:4470)
~[thrift/:na]
>  at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) ~[libthrift-0.9.1.jar:0.9.1]
>  at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) ~[libthrift-0.9.1.jar:0.9.1]
>  at org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.run(CustomTThreadPoolServer.java:194)
~[main/:na]
>  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_51]
>  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_51]
>  at java.lang.Thread.run(Thread.java:744) [na:1.7.0_51]
> Caused by: java.util.concurrent.ExecutionException: java.lang.NullPointerException
>  at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[na:1.7.0_51]
>  at java.util.concurrent.FutureTask.get(FutureTask.java:188) ~[na:1.7.0_51]
>  at org.apache.cassandra.utils.FBUtilities.waitOnFuture(FBUtilities.java:407) ~[main/:na]
>  ... 16 common frames omitted
> Caused by: java.lang.NullPointerException: null
>  at org.apache.cassandra.utils.ByteBufferUtil.string(ByteBufferUtil.java:167) ~[main/:na]
>  at org.apache.cassandra.serializers.AbstractTextSerializer.deserialize(AbstractTextSerializer.java:39)
~[main/:na]
>  at org.apache.cassandra.serializers.AbstractTextSerializer.deserialize(AbstractTextSerializer.java:26)
~[main/:na]
>  at org.apache.cassandra.db.marshal.AbstractType.compose(AbstractType.java:66) ~[main/:na]
>  at org.apache.cassandra.cql3.UntypedResultSet$Row.getString(UntypedResultSet.java:150)
~[main/:na]
>  at org.apache.cassandra.config.ColumnDefinition.fromSchema(ColumnDefinition.java:373)
~[main/:na]
>  at org.apache.cassandra.config.CFMetaData.fromSchemaNoTriggers(CFMetaData.java:1712)
~[main/:na]
>  at org.apache.cassandra.config.CFMetaData.fromSchema(CFMetaData.java:1832) ~[main/:na]
>  at org.apache.cassandra.config.KSMetaData.deserializeColumnFamilies(KSMetaData.java:320)
~[main/:na]
>  at org.apache.cassandra.db.DefsTables.mergeColumnFamilies(DefsTables.java:306) ~[main/:na]
>  at org.apache.cassandra.db.DefsTables.mergeSchema(DefsTables.java:181) ~[main/:na]
>  at org.apache.cassandra.service.MigrationManager$2.runMayThrow(MigrationManager.java:299)
~[main/:na]
>  at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) ~[main/:na]
>  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) ~[na:1.7.0_51]
>  at java.util.concurrent.FutureTask.run(FutureTask.java:262) ~[na:1.7.0_51]
>  ... 3 common frames omitted
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message