You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Lokesh Ceeba - Vendor <Lo...@walmart.com> on 2016/04/19 01:38:35 UTC

Unable to perform COUNT(*) on CASSANDRA table

Hello Team
                           The Kafka-Storm is running and the logs says, it processed 500,000 records.

But the table count(*) fails – timeout  -- Do you know why ??


cqlsh:sandbox> select count(*) from events;
OperationTimedOut: errors={}, last_host=10.226.68.248


DDL –setting parameters


AND bloom_filter_fp_chance = 0.01
AND comment = ''
AND dclocal_read_repair_chance = 0.1
AND default_time_to_live = 0
AND gc_grace_seconds = 864000
AND max_index_interval = 2048
AND memtable_flush_period_in_ms = 0
AND min_index_interval = 128
AND read_repair_chance = 0.0
AND speculative_retry = '99.0PERCENTILE'
AND caching = {
                'keys' : 'ALL',
                'rows_per_partition' : 'NONE'
}
AND compression = {
                'chunk_length_kb' : 64,
                'crc_check_chance' : 1.0,
                'sstable_compression' : 'LZ4Compressor'
}
AND compaction = {
                'bucket_high' : 1.5,
                'bucket_low' : 0.5,
                'class' : 'LeveledCompactionStrategy',
                'cold_reads_to_omit' : 0.05,
                'enabled' : true,
                'max_threshold' : 32,
                'min_sstable_size' : 50,
                'min_threshold' : 4,
                'tombstone_compaction_interval' : 86400,
                'tombstone_threshold' : 0.2,
                'unchecked_tombstone_compaction' : false
};





Thanks
Lokesh

This email and any files transmitted with it are confidential and intended solely for the individual or entity to whom they are addressed. If you have received this email in error destroy it immediately. *** Walmart Confidential ***

Re: Unable to perform COUNT(*) on CASSANDRA table

Posted by Steve Robenalt <sr...@highwire.org>.
Hi Lokesh,

Jack Krupansky sent an email to this list just this morning with all the
detail you should need to understand why this happens.

Steve

On Mon, Apr 18, 2016 at 4:38 PM, Lokesh Ceeba - Vendor <
Lokesh.Ceeba@walmart.com> wrote:

> Hello Team
>
>                            The Kafka-Storm is running and the logs says,
> it processed 500,000 records.
>
>
>
> But the table count(*) fails – timeout  -- Do you know why ??
>
>
>
>
>
> cqlsh:sandbox> select count(*) from events;
>
> OperationTimedOut: errors={}, last_host=10.226.68.248
>
>
>
>
>
> DDL –setting parameters
>
>
>
>
>
> AND bloom_filter_fp_chance = 0.01
>
> AND comment = ''
>
> AND dclocal_read_repair_chance = 0.1
>
> AND default_time_to_live = 0
>
> AND gc_grace_seconds = 864000
>
> AND max_index_interval = 2048
>
> AND memtable_flush_period_in_ms = 0
>
> AND min_index_interval = 128
>
> AND read_repair_chance = 0.0
>
> AND speculative_retry = '99.0PERCENTILE'
>
> AND caching = {
>
>                 'keys' : 'ALL',
>
>                 'rows_per_partition' : 'NONE'
>
> }
>
> AND compression = {
>
>                 'chunk_length_kb' : 64,
>
>                 'crc_check_chance' : 1.0,
>
>                 'sstable_compression' : 'LZ4Compressor'
>
> }
>
> AND compaction = {
>
>                 'bucket_high' : 1.5,
>
>                 'bucket_low' : 0.5,
>
>                 'class' : 'LeveledCompactionStrategy',
>
>                 'cold_reads_to_omit' : 0.05,
>
>                 'enabled' : true,
>
>                 'max_threshold' : 32,
>
>                 'min_sstable_size' : 50,
>
>                 'min_threshold' : 4,
>
>                 'tombstone_compaction_interval' : 86400,
>
>                 'tombstone_threshold' : 0.2,
>
>                 'unchecked_tombstone_compaction' : false
>
> };
>
>
>
>
>
>
>
>
>
>
>
> Thanks
>
> Lokesh
> This email and any files transmitted with it are confidential and intended
> solely for the individual or entity to whom they are addressed. If you have
> received this email in error destroy it immediately. *** Walmart
> Confidential ***
>



-- 
Steve Robenalt
Software Architect
srobenalt@highwire.org <bz...@highwire.org>
(office/cell): 916-505-1785

HighWire Press, Inc.
425 Broadway St, Redwood City, CA 94063
www.highwire.org

Technology for Scholarly Communication