You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Steven Lowenthal (JIRA)" <ji...@apache.org> on 2013/03/12 22:05:12 UTC

[jira] [Updated] (CASSANDRA-5336) C* crashes with an OOM error when using the Simba Driver on a very wide table

     [ https://issues.apache.org/jira/browse/CASSANDRA-5336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Lowenthal updated CASSANDRA-5336:
----------------------------------------

    Attachment: nhanes600-10k.tarZ

10K rows is sufficient to reproduce.
                
> C* crashes with an OOM error when using the Simba Driver on a very wide table
> -----------------------------------------------------------------------------
>
>                 Key: CASSANDRA-5336
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5336
>             Project: Cassandra
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 1.1.6
>         Environment: C* on a Mac with 1GB VM.  Simba ODBC driver
>            Reporter: Steven Lowenthal
>         Attachments: nhanes600-10k.tarZ
>
>
> The Simba driver executes a version of a count(*) query:
> SELECT SUM(1) from nhanes3 having sum(1) > 0.   It uses this format so ODBC returns a no rows found error if the table is empty.   It translates into a series of get_range_slice calls which bring back all of the rows, and for every row, it brings back every single column name.   C* crashes with an OOM in the thrift code.  The table has almost 600 columns of mixed text and numeric data with many empty values.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira