Re: Thanks for all the fish.

2016-08-19 Thread Brian O'Neill
+1, props to the giant on whose shoulders we stand. -- Brian O'Neill Principal Architect @ Monetate m: 215.588.6024 bone...@monetate.com <mailto:bone...@monetate.com> Is desktop dead? Find out in Monetate's Ecommerce Quarterly Report (Q1 2016) <http://info.monetate.com/EQ1_2

Re: Wrap around CQL queries for token ranges?

2015-05-11 Thread Brian O'Neill
Looks like the java-driver supplies the hack I need. (TokenRange.unwrap) I¹ll leave it to you guys to decide if it is more elegant to support wrapping natively in CQL. -brian --- Brian O'Neill Chief Technology Officer Health Market Science, a LexisNexis Company 215.588.6024 M

Wrap around CQL queries for token ranges?

2015-05-11 Thread Brian O'Neill
1 | name91 (3 rows) NOTE: If I use Long.MAX_VALUE instead, I get the records. I can hack this at the app layer, to issue separate queries for the wrap around case, but I wonder if CQL should support wrap around queries??? -brian --- Brian O'Neill Chief Technology Officer Health Marke

Re: Conditional Update Code?

2015-03-04 Thread Brian O'Neill
Interesting, I just saw the function definition stuff in AggregationTest. I’ll dig in there. It seems like we could re-use those functions for conditional updates? -brian --- Brian O'Neill Chief Technology Officer Health Market Science, a LexisNexis Company 215.588.6024 Mobile • @bone

Re: Conditional Update Code?

2015-03-04 Thread Brian O'Neill
Finally getting to this... For the UDF, javascript? -brian --- Brian O'Neill Chief Technology Officer Health Market Science, a LexisNexis Company 215.588.6024 Mobile • @boneill42 <http://www.twitter.com/boneill42> This information transmitted in this email message is for t

Re: Conditional Update Code?

2015-02-06 Thread Brian O'Neill
will simplify the app layer. -brian --- Brian O'Neill Chief Technology Officer Health Market Science, a LexisNexis Company 215.588.6024 Mobile • @boneill42 <http://www.twitter.com/boneill42> This information transmitted in this email message is for the intended recipient only and

Conditional Update Code?

2015-02-06 Thread Brian O'Neill
such a JIRA already open? -brian --- Brian O'Neill Chief Technology Officer Health Market Science, a LexisNexis Company 215.588.6024 Mobile € @boneill42 <http://www.twitter.com/boneill42> This information transmitted in this email message is for the intended recipient only and

Re: Refactoring cassandra service package

2014-06-03 Thread Brian O'Neill
? peanut gallery, -brian --- Brian O'Neill Chief Technology Officer Health Market Science The Science of Better Results 2700 Horizon Drive € King of Prussia, PA € 19406 M: 215.588.6024 € @boneill42 <http://www.twitter.com/boneill42> € healthmarketscience.com This information transmitted in

NPE in conditional updates w/ collections in 2.0.7

2014-05-16 Thread Brian O'Neill
g? (Regardless, we may want to protect against the NPE) Or am I missing something entirely? -brian --- Brian O'Neill Chief Technology Officer Health Market Science The Science of Better Results 2700 Horizon Drive € King of Prussia, PA € 19406 M: 215.588.6024 € @boneill42 <http://www.tw

Re: NPE in conditional updates w/ collections in 2.0.7

2014-05-16 Thread Brian O'Neill
Perfect. Thanks Tyler. Great to hear you guys are already on top of it. I’ll watch for the resolution. -brian --- Brian O'Neill Chief Technology Officer Health Market Science The Science of Better Results 2700 Horizon Drive • King of Prussia, PA • 19406 M: 215.588.6024 • @boneill42

Re: Proposal: freeze Thrift starting with 2.1.0

2014-03-11 Thread Brian O'Neill
I¹m +1. We¹ve had one foot out the door for a while now. We are throwing resources at CQL. (e.g. storm-cassandra-cql) And we are slowing support for the thrift-based implementation (e.g. storm-cassandra). Alas poor Thrift, I knew him (well). -brian --- Brian O'Neill Chief Techn

Re: "[applied]" column in ModificationStatement?

2014-02-06 Thread Brian O'Neill
Thanks Jonathan. It feels a little weird, but that will work. Not a big deal, but maybe we could include a wasApplied() method on the ResultSet in the future that would insulate clients from the ResultSet schema/column name. -brian --- Brian O'Neill Chief Technology Officer Health M

"[applied]" column in ModificationStatement?

2014-02-06 Thread Brian O'Neill
ndra itself? -brian --- Brian O'Neill Chief Technology Officer Health Market Science The Science of Better Results 2700 Horizon Drive € King of Prussia, PA € 19406 M: 215.588.6024 € @boneill42 <http://www.twitter.com/boneill42> € healthmarketscience.com This information transmitt

Re: Dimensional SUM, COUNT, & DISTINCT in C* (replacing Acunu)

2013-12-18 Thread Brian O'Neill
¹ll continue the discussion on the issue. thanks again, brian --- Brian O'Neill Chief Architect Health Market Science The Science of Better Results 2700 Horizon Drive € King of Prussia, PA € 19406 M: 215.588.6024 € @boneill42 <http://www.twitter.com/boneill42> € healthmarketscience

Dimensional SUM, COUNT, & DISTINCT in C* (replacing Acunu)

2013-12-17 Thread Brian O'Neill
We are seeking to replace Acunu in our technology stack / platform. It is the only component in our stack that is not open source. In preparation, over the last few weeks I’ve migrated Virgil to CQL. The vision is that Virgil could receive a REST request to upsert/delete data (hierarchical JSON

Re: Submit enhancements via pull requests?

2013-12-05 Thread Brian O'Neill
Thanks Jeremiah. Done. https://issues.apache.org/jira/browse/CASSANDRA-6453 -brian --- Brian O'Neill Chief Architect Health Market Science The Science of Better Results 2700 Horizon Drive • King of Prussia, PA • 19406 M: 215.588.6024 • @boneill42 <http://www.twitter.com/b

Submit enhancements via pull requests?

2013-12-05 Thread Brian O'Neill
error message that I¹d like to get in there) thanks, brian --- Brian O'Neill Chief Architect Health Market Science The Science of Better Results 2700 Horizon Drive € King of Prussia, PA € 19406 M: 215.588.6024 € @boneill42 <http://www.twitter.com/boneill42> € healthmarketscience

Re: Bitmap indexes - reviving CASSANDRA-1472

2013-04-12 Thread Brian O'Neill
7;d love to leverage a C* native capability for this. (Acunu provides most of the capability, but it isn't open source) I think once we have the "conditional write" semantics that are coming, we could layer this on top of C*. (extending the secondary indexes functionality) -brian

Re: Bitmap indexes - reviving CASSANDRA-1472

2013-04-10 Thread Brian O'Neill
How does this compare with Druid? https://github.com/metamx/druid We're currently evaluating Acunu, Vertica and Druid... http://brianoneill.blogspot.com/2013/04/bianalytics-on-big-datacassandra.html With its bitmapped indexes, Druid appears to have the most potential. They boast some pretty im

Re: Compund/Composite column names

2013-01-09 Thread Brian O'Neill
Sorry, just got time to submit it. Here you go: https://issues.apache.org/jira/browse/CASSANDRA-5138 -brian --- Brian O'Neill Lead Architect, Software Development Health Market Science The Science of Better Results 2700 Horizon Drive € King of Prussia, PA € 19406 M: 215.588.6024 € @bone

Re: Compund/Composite column names

2012-12-17 Thread Brian O'Neill
Will do. --- Brian O'Neill Lead Architect, Software Development Health Market Science The Science of Better Results 2700 Horizon Drive € King of Prussia, PA € 19406 M: 215.588.6024 € @boneill42 <http://www.twitter.com/boneill42> € healthmarketscience.com This information tra

Re: Compund/Composite column names

2012-12-17 Thread Brian O'Neill
FYI -- I'm still seeing this on 1.2-beta1. If you create a table via CQL, then insert into it (via Java API) with an incorrect number of components. The insert works, but select * from CQL results in a TSocket read error. I showed this in the webinar last week, just in case people ran into it.

Re: CQL/CLI Experiments w/ 1.2

2012-12-10 Thread Brian O'Neill
e) I think I can explain away the empty row/column, but we should probably publicize that. I can see that question coming up on every client/api user list. (hector, astyanax, etc.) -brian --- Brian O'Neill Lead Architect, Software Development Health Market Science The Science of Better R

CQL/CLI Experiments w/ 1.2

2012-12-09 Thread Brian O'Neill
I'm using the following schema and data: CREATE TABLE children ( childId varchar, firstName varchar, lastName varchar, timezone varchar, PRIMARY KEY (childId ) ); insert into children (childId, firstName, lastName, timezone) values ('bart.simpson', 'Bart', 'Simpson', 'PST'); insert into children (c

Re: TSocket read 0 bytes from cqlsh

2012-10-04 Thread Brian O'Neill
Scratch that it can change on a per column basis. Strange world this Java API vs. CQL. -brian On Thu, Oct 4, 2012 at 3:57 PM, Brian O'Neill wrote: > Actually, I found the underlying issue... > > CQL appends the *name* of the "value" column into the compound key

Re: TSocket read 0 bytes from cqlsh

2012-10-04 Thread Brian O'Neill
d to compound key interpretation? Wouldn't that be a better place for that since it shouldn't change within a table? -brian On Thu, Oct 4, 2012 at 3:39 PM, Brian O'Neill wrote: > Perfect. Tnx. > > On Thu, Oct 4, 2012 at 3:37 PM, Jonathan Ellis wrote: >> Oh, I see. I m

Re: TSocket read 0 bytes from cqlsh

2012-10-04 Thread Brian O'Neill
ommentId=13436817&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13436817 > > On Thu, Oct 4, 2012 at 2:31 PM, Brian O'Neill wrote: >> I was able to reproduce with CLI. I'll send over the example as soon >> as I can obfuscate it.

Re: TSocket read 0 bytes from cqlsh

2012-10-04 Thread Brian O'Neill
-- select * from data; // The result is... cqlsh:cirrus> select * from data; TSocket read 0 bytes On Thu, Oct 4, 2012 at 3:31 PM, Brian O'Neill wrote: > I was able to reproduce with CLI. I'll send over the example as soon >

Re: TSocket read 0 bytes from cqlsh

2012-10-04 Thread Brian O'Neill
can repro w/ > cli instead of needing Astyanax.) > > On Thu, Oct 4, 2012 at 2:15 PM, Brian O'Neill wrote: >> Obfuscated slightly >> >> The table is something simliar to: >> >> CREATE TABLE data ( >> uid varchar, >> t timestamp, >

Re: TSocket read 0 bytes from cqlsh

2012-10-04 Thread Brian O'Neill
>From this, I assume I inserted the wrong number of values into the compound key from Astyanax. It would be nice to carry this error across to the CQL client. -brian On Thu, Oct 4, 2012 at 3:17 PM, Brian O'Neill wrote: > Here you go... > > ERROR 14:57:37,270 Error occurred dur

Re: TSocket read 0 bytes from cqlsh

2012-10-04 Thread Brian O'Neill
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680) On Thu, Oct 4, 2012 at 3:15 PM, Brian O'Neill wrote: > Obfuscated slightly > > The table is something simliar to: > > CREATE TABLE data ( &g

Re: TSocket read 0 bytes from cqlsh

2012-10-04 Thread Brian O'Neill
and what was expected? Expected > behavior would be to reject nonconforming data at insert time. > > On Thu, Oct 4, 2012 at 2:04 PM, Brian O'Neill wrote: >> This is probably already on your radar, but we could use a better >> error message from cqlsh when the colu

TSocket read 0 bytes from cqlsh

2012-10-04 Thread Brian O'Neill
This is probably already on your radar, but we could use a better error message from cqlsh when the column key doesn't conform to the expected schema... I accidentally inserted data using Astyanax that didn't conform to the schema. After that, selects from that table via cqlsh return no useful in

Re: Document storage

2012-05-28 Thread Brian O'Neill
Just following up on this age-old thread because we've recently done some development Ben, we recently had the exact need you outline. We are storing JSON documents in Cassandra. We needed to index based on a field in the JSON. We ended up extending our cassandra-indexing code to accomodate

Re: Server Side Logic/Script - Triggers / StoreProc

2012-04-22 Thread Brian O'Neill
Praveen, We are certainly interested. To get things moving we implemented an add-on for Cassandra to demonstrate the viability (using AOP): https://github.com/hmsonline/cassandra-triggers Right now the implementation executes triggers asynchronously, allowing you to implement a java interface a

kudos...

2012-04-02 Thread Brian O'Neill
I just wanted to let you guys know that I gave you a shout out... http://brianoneill.blogspot.com/2012/04/cassandra-vs-couchdb-mongodb-riak-hbase.html thanks for all the support, brian -- Brian ONeill Lead Architect, Health Market Science (http://healthmarketscience.com) mobile:215.588.6024 blog

Re: Document storage

2012-03-30 Thread Brian O'Neill
aries. Protobuf seems to fit the bill here. Or do we pass back some other structure? (Native lists/maps? JSON strings?) Do we ignore sorting/comparators? (similar to SOLR, I'm not sure people have defined a good sort for multi-valued items) -brian ---- Brian O'Neill Lead Architect, Softw

Re: Document storage

2012-03-29 Thread Brian O'Neill
Jonathan, We store JSON as our column values. I'd love to see support for maps and lists. If I get some time this weekend, I'll take a look to see what is required. I doesn't seem like it would be that hard. -brian Brian O'Neill Lead Architect, Software Devel

Re: Document storage

2012-03-29 Thread Brian O'Neill
ts? I wouldn't mind coordinating/facilitating the conversation. If we know who should be involved. -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/

Re: OoM querying very wide-row in CLI

2012-03-28 Thread Brian O'Neill
Sorry, I didn't realize we weren't hip to pulls yet. I created a JIRA and attached the patch. https://issues.apache.org/jira/browse/CASSANDRA-4098 -brian On Tue, Mar 27, 2012 at 10:42 PM, Brian O'Neill wrote: > Here she is: > https://github.com/apache/cassandra/pull/8 >

Re: OoM querying very wide-row in CLI

2012-03-27 Thread Brian O'Neill
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 wrote: > 10-4. I'll see if I can track it down and submit a pull request that > specifies a default if on

Re: OoM querying very wide-row in CLI

2012-03-27 Thread Brian O'Neill
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://weblog

OoM querying very wide-row in CLI

2012-03-27 Thread Brian O'Neill
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 t

Triggers?

2012-01-20 Thread Brian O'Neill
I just posted to the user list, but figured I would post here as well. We had a big session today designing application-level triggers using a new column family as a distributed commit log. When I got back to my desk, I re-googled Cassandra triggers, and re-read: https://issues.apache.org/jira/bro

Re: Cassandra has moved to Git

2012-01-05 Thread Brian O'Neill
I'm by no means a git guru, but just happened to attend a meeting last night where the presenter addressed this exact issue. He has a pretty slick process that kept the master/trunk clean without rebasing by squashing a set of commits into a single commit when merged to trunk. (using git squash?)

FYI -- BufferOverflowException out of CommitLog on trunk

2011-12-12 Thread Brian O'Neill
I haven't had time to look into it yet, but just wanted to let you guys know that I hit this in case someone was in that code. ERROR 14:07:31,215 Fatal exception in thread Thread[COMMIT-LOG-WRITER,5,main] java.nio.BufferOverflowException at java.nio.Buffer.nextPutIndex(Buffer.java:501) at java.nio

Re: How is Cassandra being used?

2011-11-16 Thread Brian O'Neill
Lively thread... +1 opt-in +1 in separate module I'll just substantiate Rick Shaw's comments. If this is on by default, I can see it making its way into production at a large corporation, at which time the traffic would sound an alarm as suspicious activity, which would immediately get the serve

Re: AOP for SOLR Integration with Cassandra

2011-11-05 Thread Brian O'Neill
Understandable. I'll leave it as is then in the REST layer. -brian On Fri, Nov 4, 2011 at 11:24 PM, Jonathan Ellis wrote: > On Fri, Nov 4, 2011 at 3:57 PM, Brian O'Neill > wrote: > > Doing it with AOP will also allow us to move it into > > the main codebase if/

AOP for SOLR Integration with Cassandra

2011-11-04 Thread Brian O'Neill
I just sent an email out over the users list. Over a couple nights this week, I added SOLR integration into Virgil. (Virgil is that REST layer that we've been building out over in Apache Extras) I just wanted to through an idea out to the dev list... I plan to migrate the current implementation i

Contribution: Native REST Layer for Cassandra

2011-10-18 Thread Brian O'Neill
Jeremy/Jonathan, When you finish celebrating the 1.0 release, I just submitted a native rest layer for Cassandra. https://issues.apache.org/jira/browse/CASSANDRA-3380 It uses JAX-RS and Apache CXF supporting the following operations (JSON over HTTP): - Create keyspace - Drop keyspace -

Re: Eclipse style/formatting file?

2011-10-13 Thread Brian O'Neill
Perfect. Thanks. -brian On Thu, Oct 13, 2011 at 11:13 AM, Feiyi Wang wrote: > How about this? > https://github.com/tjake/cassandra-style-eclipse > > Feiyi > > > On Thu, Oct 13, 2011 at 10:58 AM, Brian O'Neill >wrote: > > > All, > > > > Anyon

Eclipse style/formatting file?

2011-10-13 Thread Brian O'Neill
All, Anyone have an eclipse style/formatting file compatible with the Cassandra code? I don't see one here: http://wiki.apache.org/cassandra/RunningCassandraInEclipse (I'm trying to get the REST API in a good state for contribution) thanks, brian -- Brian ONeill Lead Architect, Health Market

Re: REST API?

2011-10-11 Thread Brian O'Neill
ser list. I > think others would be interested and may contribute to it. > > Cheers, > > Jeremy > > On Oct 10, 2011, at 8:42 PM, Brian O'Neill wrote: > > > Thanks Gary. Perfect. Checking it out now. > > > > Performance isn't much of a concern fo

Re: REST API?

2011-10-10 Thread Brian O'Neill
ould be interested and may contribute to it. > > Cheers, > > Jeremy > > On Oct 10, 2011, at 8:42 PM, Brian O'Neill wrote: > > > Thanks Gary. Perfect. Checking it out now. > > > > Performance isn't much of a concern for us through the REST interface

Re: REST API?

2011-10-10 Thread Brian O'Neill
ping.org/2010/09/restful-cassandra.html), > using REST as an example. > > > On Mon, Oct 10, 2011 at 20:12, Brian O'Neill > wrote: > > My team desperately needs a REST API for Cassandra. > > > > I saw the following: > > http://code.google.com/p/restish/ > > f

REST API?

2011-10-10 Thread Brian O'Neill
My team desperately needs a REST API for Cassandra. I saw the following: http://code.google.com/p/restish/ from http://crlog.info/2011/01/29/restish-wrapper-for-hectorcassandra-data-manipulation/ But it appears to have little activity and documentation. That lead me to start work on a contrib/re

Patch for Contrib/Pig to accommodate refactoring of hexToBytes

2011-10-10 Thread Brian O'Neill
Jonathan, We need a small update to contrib/pig to accommodate pulling hexToBytes out of FBUtilities into Hex. I raised an issue, and attached is the patch for trunk. https://issues.apache.org/jira/browse/CASSANDRA-3341 -brian -- Brian ONeill Lead Architect, Health Market Science (http://heal