cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wei Deng (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-12512) compaction-stress: assertion error on accessing Schema.instance from client-mode tool
Date Sun, 21 Aug 2016 04:19:20 GMT


Wei Deng commented on CASSANDRA-12512:

Yep, after applying this [patch|],
I was able to get compaction-stress to work.

To apply the patch cleanly, the additional import packages needed to be manually inserted
but it was trivial.

> compaction-stress: assertion error on accessing Schema.instance from client-mode tool
> -------------------------------------------------------------------------------------
>                 Key: CASSANDRA-12512
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Wei Deng
> When I was trying the new compaction-stress tool from 3.10, I ran into the following
> {noformat}
> automaton@wdengsummitsparkgoogle-0ce59d338-1:~/cassandra-trunk$ ./tools/bin/compaction-stress
write -d /tmp/compaction -g 5 -p
-t 4
> java.lang.AssertionError: This assertion failure is probably due to accessing Schema.instance
from client-mode tools - See CASSANDRA-8143.
> 	at org.apache.cassandra.config.CFMetaData.<init>(
> 	at org.apache.cassandra.config.CFMetaData.<init>(
> 	at org.apache.cassandra.config.CFMetaData$
> 	at org.apache.cassandra.config.CFMetaData.compile(
> 	at org.apache.cassandra.stress.StressProfile.init(
> 	at org.apache.cassandra.stress.StressProfile.load(
> 	at org.apache.cassandra.stress.CompactionStress.getStressProfile(
> 	at org.apache.cassandra.stress.CompactionStress$
> 	at org.apache.cassandra.stress.CompactionStress.main(
> {noformat}
> Probably another code path not covered by CASSANDRA-8143? From the [comment|]
it appears that this should no longer happen after the patch and I confirmed the patch is
in the code I'm using.
> To be exact for reproduce, I'm building from trunk with this commit hash (Aug 20, 2016):

This message was sent by Atlassian JIRA

View raw message