cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robbie Strickland (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-4335) Create Column Family in CLI reports success despite fatal exception
Date Tue, 12 Jun 2012 18:44:42 GMT

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

Robbie Strickland updated CASSANDRA-4335:
-----------------------------------------

    Attachment: schema_after.txt
                schema_before.txt
    
> Create Column Family in CLI reports success despite fatal exception
> -------------------------------------------------------------------
>
>                 Key: CASSANDRA-4335
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4335
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.1.0
>         Environment: Ubuntu 10.04, 12 nodes in 2 DCs
>            Reporter: Robbie Strickland
>         Attachments: schema_after.txt, schema_before.txt
>
>
> When creating a CF using the CLI, the following exception is thrown on four out of 12
nodes:
> {code}
> ERROR [MigrationStage:1] 2012-06-12 17:39:05,644 AbstractCassandraDaemon.java (line 134)
Exception in thread Thread[MigrationStage:1,5,main]
> java.lang.NullPointerException
>   at org.apache.cassandra.utils.ByteBufferUtil.string(ByteBufferUtil.java:163)
>   at org.apache.cassandra.utils.ByteBufferUtil.string(ByteBufferUtil.java:120)
>   at org.apache.cassandra.cql.jdbc.JdbcUTF8.getString(JdbcUTF8.java:77)
>   at org.apache.cassandra.cql.jdbc.JdbcUTF8.compose(JdbcUTF8.java:97)
>   at org.apache.cassandra.db.marshal.UTF8Type.compose(UTF8Type.java:35)
>   at org.apache.cassandra.cql3.UntypedResultSet$Row.getString(UntypedResultSet.java:87)
>   at org.apache.cassandra.config.CFMetaData.fromSchemaNoColumns(CFMetaData.java:1145)
>   at org.apache.cassandra.config.CFMetaData.fromSchema(CFMetaData.java:1190)
>   at org.apache.cassandra.config.KSMetaData.deserializeColumnFamilies(KSMetaData.java:291)
>   at org.apache.cassandra.db.DefsTable.mergeColumnFamilies(DefsTable.java:395)
>   at org.apache.cassandra.db.DefsTable.mergeSchema(DefsTable.java:270)
>   at org.apache.cassandra.db.DefsTable.mergeRemoteSchema(DefsTable.java:248)
>   at org.apache.cassandra.db.DefinitionsUpdateVerbHandler$1.runMayThrow(DefinitionsUpdateVerbHandler.java:48)
>   at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
>   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>   at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>   at java.lang.Thread.run(Thread.java:662)
> {code}
> The CLI reports successful schema update in spite of the error, though describe CF shows
no CF exists.  Running nodetool resetlocalschema throws column family not found exceptions.
> I am able to create this CF on other clusters without issue. I have attached the before
and after schema.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message