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

Jay Zhuang commented on CASSANDRA-13845:
----------------------------------------

Added keyspace and table name in TableMetadata validation exceptions, please 
review:
| Branch | uTest |
| [13845-trunk|https://github.com/cooldoger/cassandra/tree/13845-trunk] | 
[!https://circleci.com/gh/cooldoger/cassandra/tree/13845-trunk.svg?style=svg!|https://circleci.com/gh/cooldoger/cassandra/tree/13845-trunk]
 |

> Add keyspace and table name in schema validation exception
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-13845
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13845
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jay Zhuang
>            Assignee: Jay Zhuang
>            Priority: Minor
>              Labels: lhf
>             Fix For: 4.x
>
>
> We're seeing the following exception from time to time, it would be better to 
> include keyspace table name, so we know which table update is causing the 
> issue:
> {noformat}
> ERROR [InternalResponseStage:391] 2017-09-06 00:29:05,361 
> MigrationTask.java:96 - Configuration exception merging remote schema
> org.apache.cassandra.exceptions.ConfigurationException: Column family ID 
> mismatch (found af1f4650-9279-11e7-9df0-399587d0a542; expected 
> a094fe70-89e3-11e7-b4d5-eb8faf28be34)
>     at 
> org.apache.cassandra.config.CFMetaData.validateCompatibility(CFMetaData.java:785)
>  ~[apache-cassandra-3.0.14.jar:3.0.14]
>     at org.apache.cassandra.config.CFMetaData.apply(CFMetaData.java:747) 
> ~[apache-cassandra-3.0.14.jar:3.0.14]
>     at org.apache.cassandra.config.Schema.updateTable(Schema.java:661) 
> ~[apache-cassandra-3.0.14.jar:3.0.14]
>     at 
> org.apache.cassandra.schema.SchemaKeyspace.updateKeyspace(SchemaKeyspace.java:1391)
>  ~[apache-cassandra-3.0.14.jar:3.0.14]
>     at 
> org.apache.cassandra.schema.SchemaKeyspace.mergeSchema(SchemaKeyspace.java:1347)
>  ~[apache-cassandra-3.0.14.jar:3.0.14]
>     at 
> org.apache.cassandra.schema.SchemaKeyspace.mergeSchemaAndAnnounceVersion(SchemaKeyspace.java:1297)
>  ~[apache-cassandra-3.0.14.jar:3.0.14]
>     at 
> org.apache.cassandra.service.MigrationTask$1.response(MigrationTask.java:92) 
> ~[apache-cassandra-3.0.14.jar:3.0.14]
>     at 
> org.apache.cassandra.net.ResponseVerbHandler.doVerb(ResponseVerbHandler.java:53)
>  [apache-cassandra-3.0.14.jar:3.0.14]
>     at 
> org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:67) 
> [apache-cassandra-3.0.14.jar:3.0.14]
>     at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
> [na:1.8.0_121]
>     at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_121]
>     at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>  [na:1.8.0_121]
>     at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>  [na:1.8.0_121]
>     at 
> org.apache.cassandra.concurrent.NamedThreadFactory.lambda$threadLocalDeallocator$0(NamedThreadFactory.java:79)
>  [apache-cassandra-3.0.14.jar:3.0.14]
>     at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_121]
> {noformat}



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

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

Reply via email to