Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 347F9200B6B for ; Thu, 25 Aug 2016 16:00:32 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 33096160ABD; Thu, 25 Aug 2016 14:00:32 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7ABA4160A93 for ; Thu, 25 Aug 2016 16:00:31 +0200 (CEST) Received: (qmail 41972 invoked by uid 500); 25 Aug 2016 14:00:30 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 41952 invoked by uid 99); 25 Aug 2016 14:00:30 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Aug 2016 14:00:30 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 5B1652C014E for ; Thu, 25 Aug 2016 14:00:30 +0000 (UTC) Date: Thu, 25 Aug 2016 14:00:30 +0000 (UTC) From: "Yuki Morishita (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-12512) compaction-stress: assertion error on accessing Schema.instance from client-mode tool MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 25 Aug 2016 14:00:32 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-12512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15436905#comment-15436905 ] Yuki Morishita commented on CASSANDRA-12512: -------------------------------------------- Tests passed. ||branch||testall||dtest|| |[12512|https://github.com/yukim/cassandra/tree/12512]|[testall|http://cassci.datastax.com/view/Dev/view/yukim/job/yukim-12512-testall/lastCompletedBuild/testReport/]|[dtest|http://cassci.datastax.com/view/Dev/view/yukim/job/yukim-12512-dtest/lastCompletedBuild/testReport/]| > compaction-stress: assertion error on accessing Schema.instance from client-mode tool > ------------------------------------------------------------------------------------- > > Key: CASSANDRA-12512 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12512 > Project: Cassandra > Issue Type: Bug > Reporter: Wei Deng > Assignee: Yuki Morishita > Fix For: 3.x > > > When I was trying the new compaction-stress tool from 3.10, I ran into the following error: > {noformat} > automaton@0ce59d338-1:~/cassandra-trunk$ ./tools/bin/compaction-stress write -d /tmp/compaction -g 5 -p https://gist.githubusercontent.com/tjake/8995058fed11d9921e31/raw/a9334d1090017bf546d003e271747351a40692ea/blogpost.yaml -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.(CFMetaData.java:288) > at org.apache.cassandra.config.CFMetaData.(CFMetaData.java:66) > at org.apache.cassandra.config.CFMetaData$Builder.build(CFMetaData.java:1332) > at org.apache.cassandra.config.CFMetaData.compile(CFMetaData.java:433) > at org.apache.cassandra.stress.StressProfile.init(StressProfile.java:174) > at org.apache.cassandra.stress.StressProfile.load(StressProfile.java:801) > at org.apache.cassandra.stress.CompactionStress.getStressProfile(CompactionStress.java:162) > at org.apache.cassandra.stress.CompactionStress$DataWriter.run(CompactionStress.java:289) > at org.apache.cassandra.stress.CompactionStress.main(CompactionStress.java:353) > {noformat} > [UPDATE] It appears that {{compaction-stress compact}} fails on the same assert but via a totally different code path. The stack trace is like the following: > {noformat} > automaton@0ce59d338-1:~/cassandra-trunk$ ./tools/bin/compaction-stress compact -d /tmp/compaction -p https://gist.githubusercontent.com/tjake/8995058fed11d9921e31/raw/a9334d1090017bf546d003e271747351a40692ea/blogpost.yaml -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.(CFMetaData.java:288) > at org.apache.cassandra.config.CFMetaData.(CFMetaData.java:66) > at org.apache.cassandra.config.CFMetaData$Builder.build(CFMetaData.java:1332) > at org.apache.cassandra.config.CFMetaData.compile(CFMetaData.java:433) > at org.apache.cassandra.db.SystemKeyspace.compile(SystemKeyspace.java:434) > at org.apache.cassandra.db.SystemKeyspace.(SystemKeyspace.java:115) > at org.apache.cassandra.stress.CompactionStress$Compaction.run(CompactionStress.java:213) > at org.apache.cassandra.stress.CompactionStress.main(CompactionStress.java:353) > {noformat} > (the last revision of the description had the wrong stack trace pasted and I've corrected that.) > As you can see this 2nd assert on {{compaction-stress compact}} is triggered by SystemKeyspace class, so fix in StressProfile class is only able to solve the assert problem for {{compaction-stress write}}, but not {{compaction-stress compact}}. -- This message was sent by Atlassian JIRA (v6.3.4#6332)