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
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
+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
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
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
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
>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
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,
>
--
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
>
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.
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
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
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
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
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.
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
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
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
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
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
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
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
¹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
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
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
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
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
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
?
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
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
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
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
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
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
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
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
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
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
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
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
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
-
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
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/
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
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
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?)
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
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
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
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
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
>
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/
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
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
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
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
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
57 matches
Mail list logo