The following sample:
http://www.datastax.com/dev/blog/whats-new-cassandra-07-secondary-indexes
No longer works with 0.8.0-rc1
I get "cannot parse as hex bytes" when doing the
"Next we add some users:
[default@demo] set users[bsanderson][full_name] = 'Brandon Sanderson';"
section
I can confir
thanks
On Fri, May 20, 2011 at 12:58 PM, Jonathan Ellis wrote:
> You'd need to add a key validation type for 0.8.
>
> On Fri, May 20, 2011 at 9:28 AM, Patrick Julien wrote:
>> The following sample:
>>
>> http://www.datastax.com/dev/blog/whats-new-cassandra-07-s
How does this work exactly? If you're using generation 1 time uuids
for your keys to get ordering, doesn't this mean the keys need to be
generated all on the same host when you either query or insert? Or
does cassandra only inspect the bits that represent the time stamp of
the UUID when performin
& 0xFF);
> if (d != 0) return d;
>
> d = (o1.get(o1Pos+2) & 0xFF) - (o2.get(o2Pos+2) & 0xFF);
> if (d != 0) return d;
>
> return (o1.get(o1Pos+3) & 0xFF) - (o2.get(o2Pos+3) & 0xFF);
> }
>
> Looks like it's only comparing th
https://github.com/riptano/hector-jpa
Is this solution usable?
I had problems building it, now tests won't pass.
un 6, 2011 at 5:55 PM, Patrick Julien wrote:
> https://github.com/riptano/hector-jpa
>
> Is this solution usable?
>
> I had problems building it, now tests won't pass.
>
lly represents the next generation of JPA
> in Hector. There is a more lightweight version present in the release
> version of Hector called Hector Object Mapper. I'm sure Nate or Todd who've
> worked more on hector-jpa can elaborate.
>
> Ed
>
> On Mon, Jun 6, 2011 at
annotation-based mapping of Java object fields to columns:
>
> https://github.com/rantav/hector/wiki/Hector-Object-Mapper-%28HOM%29
>
> On Mon, Jun 6, 2011 at 3:27 PM, Patrick Julien wrote:
>>
>> So what's recommended for right now? The data nucleus plugin? I
>> d
With the current implementation of CompositeType in Cassandra 0.8.1,
is it recommended practice to try to use a CompositeType as the key?
Or are both, column and key, equally well supported?
The documentation on CompositeType is light, well non-existent really, with
key_validation_class set to Co
), just use it for columns.
> On 22/07/2011 17:10, Patrick Julien wrote:
>>
>> With the current implementation of CompositeType in Cassandra 0.8.1,
>> is it recommended practice to try to use a CompositeType as the key?
>> Or are both, column and key, equally well
Exactly. In any case, I just answered my own question. If I need
range, I can just make another column family where the column name are
these keys
On Fri, Jul 22, 2011 at 12:37 PM, Nate McCall wrote:
>> yes,but why would you use CompositeType if you don't need range query?
>
> If you were doing
- entity groups
- co-processors
- materialized views
- CQL support directly in cassandra-cli
On Tue, Nov 1, 2011 at 6:59 PM, Jonathan Ellis wrote:
> Hi all,
>
> Two years ago I asked for Cassandra use cases and feature requests.
> [1] The results [2] have been extremely useful in setting and
> p
We have a pilot project running where all our historical data
worldwide would be stored using cassandra. So far, we have been
successful at getting the write and read throughput we need, in fact,
coming in over 27% over our needed capacity and well beyond what we
were able to achieve with mysql, v
I think this is what you're looking for
http://wiki.apache.org/cassandra/FAQ#working_with_timeuuid_in_java
2011/4/8 Олександр Силка :
>
> Then how i can generate correct time UUID key in java ?
>
> 8 квітня 2011 р. 22:58 Ed Anuff написав:
>>
>> Hmm, if you're really doing this, you're not gettin
wrote:
> On Fri, Apr 8, 2011 at 12:17 PM, Patrick Julien wrote:
>> The problem is this: we would like the historical data from Tokyo to
>> stay in Tokyo and only be replicated to New York. The one in London
>> to be in London and only be replicated to New York and so
dn't the NY data center wonder where these other
>> writes are coming from?
>>
>> On Fri, Apr 8, 2011 at 6:38 PM, Jonathan Ellis wrote:
>>> On Fri, Apr 8, 2011 at 12:17 PM, Patrick Julien wrote:
>>>> The problem is this: we would like the historical dat
put in an assumption first, so from cassandra-cli, do:
assume aCF KEYS as lexicaluuid;
then do your list
On Sun, Apr 10, 2011 at 10:03 PM, Wenjun Che wrote:
>
> It is happening on clean 0.7.4 server as well. Here is how to reproduce:
>
> 1. create a CF with UUID as row key
> 2. add some data
>
n Ellis wrote:
> No, I'm suggesting you have a Tokyo keyspace that gets replicated as
> {Tokyo: 2, NYC:1}, a London keyspace that gets replicated to {London:
> 2, NYC: 1}, for example.
>
> On Fri, Apr 8, 2011 at 5:59 PM, Patrick Julien wrote:
>> I'm familiar with this m
reak?
>
> Hope that helps.
> Aaron
>
>
>
> On 14 Apr 2011, at 10:17, Patrick Julien wrote:
>
>> We have been successful in implementing, at scale, the comments you
>> posted here. I'm wondering what we can do about deleting data
>> however.
>
ave compressed
> tar files of each keyspace in NY. We've been working on this to allow full
> and incremental backup and restore from our EC2 hosted Cassandra clusters
> to/from S3. Full backup/restore works fine, incremental and per-keyspace
> restore is being worked on.
> Adrian
On Thu, Apr 14, 2011 at 4:47 PM, Adrian Cockcroft
wrote:
> What you are asking for breaks the eventual consistency model, so you need to
> create a separate cluster in NYC that collects the same updates but has a
> much longer setting to timeout the data for deletion, or doesn't get the
> delet
21 matches
Mail list logo