incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian O'Neill" <b...@alumni.brown.edu>
Subject Re: OoM querying very wide-row in CLI
Date Wed, 28 Mar 2012 02:42:15 GMT
Here she is:
https://github.com/apache/cassandra/pull/8

Verified functionally with the attached data script.

-brian



On Tue, Mar 27, 2012 at 9:49 PM, Brian O'Neill <bone@alumni.brown.edu>wrote:

> 10-4.  I'll see if I can track it down and submit a pull request that
> specifies a default if one does not exist.
>
> -brian
>
> ----
> Brian O'Neill
> Lead Architect, Software Development
> Health Market Science | 2700 Horizon Drive | King of Prussia, PA 19406
> p: 215.588.6024blog: http://weblogs.java.net/blog/boneill42/
> blog: http://brianoneill.blogspot.com/
>
>
>
>
>
>
>
> On 3/27/12 9:45 PM, "Jonathan Ellis" <jbellis@gmail.com> wrote:
>
> >I believe we added support for specifying a column range to the cli
> >recently.  I don't know if there is a default limit.
> >
> >On Tue, Mar 27, 2012 at 8:40 PM, Brian O'Neill <bone@alumni.brown.edu>
> >wrote:
> >> Today, running 1.0.7, we saw a node crash with an OutOfMemory.
> >> We have a single row with ~10million columns in it. (using it as an
> >>index)
> >> Accidentally, we attempted to list the CF in CLI that had the wide-row.
> >>  This caused the CLI to hang and then eventually crashed Cassandra with
> >>an
> >> OoM.
> >>
> >> I know this is a case of "If it hurts when you do that, don't do that",
> >>but
> >> we may want to better protect against it in the CLI and/or the DB.  I
> >>know
> >> we limit row counts on lists in CLI.  Do we also limit column counts?
> >>If
> >> not, I don't mind submitting a patch for this.
> >>
> >> let me know,
> >> brian
> >>
> >> --
> >> Brian ONeill
> >> Lead Architect, Health Market Science (http://healthmarketscience.com)
> >> mobile:215.588.6024
> >> blog: http://weblogs.java.net/blog/boneill42/
> >> blog: http://brianoneill.blogspot.com/
> >
> >
> >
> >--
> >Jonathan Ellis
> >Project Chair, Apache Cassandra
> >co-founder of DataStax, the source for professional Cassandra support
> >http://www.datastax.com
>
>
>


-- 
Brian ONeill
Lead Architect, Health Market Science (http://healthmarketscience.com)
mobile:215.588.6024
blog: http://weblogs.java.net/blog/boneill42/
blog: http://brianoneill.blogspot.com/

Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message