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 DF3EB200CF7 for ; Tue, 19 Sep 2017 18:44:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id DDD021609DD; Tue, 19 Sep 2017 16:44:08 +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 304C51609BF for ; Tue, 19 Sep 2017 18:44:08 +0200 (CEST) Received: (qmail 80765 invoked by uid 500); 19 Sep 2017 16:44:07 -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 80754 invoked by uid 99); 19 Sep 2017 16:44:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Sep 2017 16:44:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id CB4D3CF442 for ; Tue, 19 Sep 2017 16:44:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.001 X-Spam-Level: X-Spam-Status: No, score=-100.001 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id q4SNFgzarkwk for ; Tue, 19 Sep 2017 16:44:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 71D2760E4C for ; Tue, 19 Sep 2017 16:44:03 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id EC5F6E0F7B for ; Tue, 19 Sep 2017 16:44:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id CB7D62454B for ; Tue, 19 Sep 2017 16:44:00 +0000 (UTC) Date: Tue, 19 Sep 2017 16:44:00 +0000 (UTC) From: "Michael Shuler (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-13556) Corrupted SSTables MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 19 Sep 2017 16:44:09 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-13556?page=3Dcom.atl= assian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Shuler updated CASSANDRA-13556: --------------------------------------- Priority: Major (was: Critical) > Corrupted SSTables > ------------------ > > Key: CASSANDRA-13556 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1355= 6 > Project: Cassandra > Issue Type: Bug > Components: Compaction > Environment: CentOS Linux release 7.3.1611 (Core) > openjdk version "1.8.0_121" > OpenJDK Runtime Environment (build 1.8.0_121-b13) > OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode) > Python cassandra (DataStax) driver v3.6.0 > Reporter: Ihor Prokopov > Fix For: 3.11.x > > > After 3 month of working, we noticed that number of compaction tasks were= growing (~600 pending tasks). SStables verification shows that some of the= m were corrupted. Repairing didn't help (it was crashing with error).=20 > Also some of requests (f.e. select * from fetcher where domain=3D82895119= 71670945261 and uri=3D-5417197141545933706; ) fails with next error: > {color:red} > Traceback (most recent call last): > File "/var/cassandra/apache-cassandra-3.9/bin/cqlsh.py", line 1264, in = perform_simple_statement > result =3D future.result() > File "/var/cassandra/apache-cassandra-3.9/bin/../lib/cassandra-driver-i= nternal-only-3.5.0.post0-d8d0456.zip/cassandra-driver-3.5.0.post0-d8d0456/c= assandra/cluster.py", line 3650, in result > raise self._final_exception > error: unpack requires a string argument of length 4 > {color} > Table chema: > {quote} > CREATE TABLE fetcher ( > domain bigint, > uri bigint, > date date, > content_length int, > elapsed float, > encoding text, > fetched_time bigint, > flinks frozen, > flinks_count int, > html_fingerprint bigint, > indexed boolean, > adult boolean, > kws_count int, > lang_id int, > last_updated bigint, > redirect_url tuple, > revisit_date date, > revisit_interval int, > status_code int, > tokens_fingerprint bigint, > uris frozen url text, > PRIMARY KEY (domain, uri, date) > ) WITH CLUSTERING ORDER BY (uri ASC, date DESC) > AND bloom_filter_fp_chance =3D 0.1 > AND caching =3D \{'keys': 'ALL', 'rows_per_partition': 'NONE'} > AND comment =3D 'fetcher history' > AND compaction =3D \{'class': 'org.apache.cassandra.db.compaction.Lev= eledCompactionStrategy', > 'sstable_size_in_mb': '256', > 'tombstone_threshold': '.2'} > AND compression =3D \{'chunk_length_in_kb': '64', > 'class': 'org.apache.cassandra.io.compress.LZ4Comp= ressor'} > AND crc_check_chance =3D 1.0 > AND dclocal_read_repair_chance =3D 0.1 > AND default_time_to_live =3D 0 > AND gc_grace_seconds =3D 864000 > AND max_index_interval =3D 2048 > AND memtable_flush_period_in_ms =3D 0 > AND min_index_interval =3D 128 > AND read_repair_chance =3D 0.5 > AND speculative_retry =3D '99PERCENTILE'; > {quote} > Corrupted [SSTable|https://drive.google.com/file/d/0B4ZaUOv0G9oMcHpERTdlb= 3ozSVk/view?usp=3Dsharing]. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org For additional commands, e-mail: commits-help@cassandra.apache.org