Re: Released an ACID-compliant transaction library on top of Cassandra

2018-10-16 Thread Jonathan Ellis
-- > > To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org > > For additional commands, e-mail: user-h...@cassandra.apache.org > > > > - > To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org > For additional commands, e-mail: user-h...@cassandra.apache.org > > -- Jonathan Ellis co-founder, http://www.datastax.com @spyced

Re: Released an ACID-compliant transaction library on top of Cassandra

2018-10-16 Thread Jonathan Ellis
Which was followed up by https://www.researchgate.net/profile/Akon_Dey/publication/282156834_Scalable_Distributed_Transactions_across_Heterogeneous_Stores/links/56058b9608ae5e8e3f32b98d.pdf On Tue, Oct 16, 2018 at 1:02 PM Jonathan Ellis wrote: > It looks like it's based on this

Re: Disabling all caching in Cassandra

2016-06-22 Thread Jonathan Ellis
AND dclocal_read_repair_chance = 0.1 AND default_time_to_live = 0 AND > gc_grace_seconds = 864000 AND max_index_interval = 10240 AND > memtable_flush_period_in_ms = 360 AND min_index_interval = 10240 AND > read_repair_chance = 0.0 AND speculative_retry = '99PERCENTILE' AND caching

Reminder: don't listen on public addresses

2017-01-20 Thread Jonathan Ellis
ublic interfaces. Of course additional security measures are useful as defense in depth, but bottom line if the bad guys can't connect to your cluster they can't harm it. -- Jonathan Ellis co-founder, http://www.datastax.com @spyced

Cassandra users survey

2015-09-30 Thread Jonathan Ellis
a few minutes to fill it out! -- Jonathan Ellis Project Chair, Apache Cassandra co-founder, http://www.datastax.com @spyced

Re: Cassandra users survey

2015-10-07 Thread Jonathan Ellis
ur application." We have multiple applications > using Cassandra. Are you looking for information about each application > separately, or the sum of all of them? > > Jim > > On Wed, Sep 30, 2015 at 2:18 PM, Jonathan Ellis wrote: > >> With 3.0 approaching, the Apache Ca

Re: Cassandra users survey

2015-10-20 Thread Jonathan Ellis
uot;128 GB or more" than I expected. - Including the "both" responses, a majority of users are deploying SSD now. On Wed, Sep 30, 2015 at 1:18 PM, Jonathan Ellis wrote: > With 3.0 approaching, the Apache Cassandra team would appreciate your > feedback as we work on the proj

Announcement: Thrift API deprecation

2016-01-04 Thread Jonathan Ellis
committed for 3.4. In the meantime, I thought it best to give people more notice rather than less.) [1] https://issues.apache.org/jira/browse/CASSANDRA-10857 -- Jonathan Ellis Project Chair, Apache Cassandra co-founder, http://www.datastax.com @spyced

Re: Java heap space on Cassandra start up version 1.0.10

2012-07-09 Thread Jonathan Ellis
at > org.apache.cassandra.io.sstable.SSTableMetadata$SSTableMetadataSerializer.deserialize(SSTableMetadata.java:204) > at > org.apache.cassandra.io.sstable.SSTableMetadata$SSTableMetadataSerializer.deserialize(SSTableMetadata.java:194) > at > org.apache.cassandra.io.sstable.SSTableReader.open(SSTableReader.java:155) > at > org.apache.cassandra.io.sstable.SSTableReader$1.run(SSTableReader.java:224) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) > at java.util.concurrent.FutureTask.run(FutureTask.java:138) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:662) > Service exit with a return value of 100 -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com

Cassandra Summit 2012

2012-07-13 Thread Jonathan Ellis
More information at http://www.datastax.com/services/training -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com

2012 Cassandra MVP nominations

2012-07-13 Thread Jonathan Ellis
lease take five minutes and submit your nomination today at [2]. Nominations will be open throughout the next week. Those selected will be notified in advance. [1] http://www.datastax.com/events/cassandrasummit2012 [2] http://www.surveymonkey.com/s/WVBZGHR -- Jonathan Ellis Project Chair, Apache

Fwd: Call for Papers for ApacheCon Europe 2012 now open!

2012-07-24 Thread Jonathan Ellis
ve a little over weeks to send in your talk proposal. Don't put it off! We'll look forward to seeing some great ones shortly! Thanks Nick (On behalf of the Conferences committee) -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com

Re: RE Restore snapshot

2012-08-07 Thread Jonathan Ellis
Yes. On Thu, Aug 2, 2012 at 5:33 AM, Radim Kolar wrote: > >> 1) I assume that I have to call the loadNewSSTables() on each node? > > this is same as "nodetool refresh?" -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for profe

Re: Problem while configuring key and row cache?

2012-08-21 Thread Jonathan Ellis
Bloom Filter Space Used: 41104 > Compacted row minimum size: 150 > Compacted row maximum size: 179 > Compacted row mean size: 179 * > > I am unable to see the effect of above setcachecapacity command. Let me > know how i can configure the cache capacity, and check it

Re: Dynamic Column Families in CQLSH v3

2012-08-29 Thread Jonathan Ellis
e a dynamic > column family is to create a table with no named columns and alter the > table later but that also does not work: > > "create table data (key varchar PRIMARY KEY);" > > yields: > > "Bad Request: No definition found that is not part of the PRIMAR

Re: JVM 7, Cass 1.1.1 and G1 garbage collector

2012-09-11 Thread Jonathan Ellis
e had any experience with this ? Anyone tried it ? > > -- > Regards, > Oleg Dulin > NYC Java Big Data Engineer > http://www.olegdulin.com/ > > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com

Re: Any way to put a hard limit on memory cap for Cassandra ?

2012-10-03 Thread Jonathan Ellis
250M that I observed in the behavior of my > application ? What about later releases of Cassandra (e.g. 1.1, or 1.2) ? Is > there any option to help on this front ? > > Thanks in advance for any pointers that you can provide to help me understand > this issue. > > B

potential data loss in Cassandra 1.1.0 .. 1.1.4

2012-10-17 Thread Jonathan Ellis
en flushed. Replaying already-flushed data a second time is harmless -- except for counters. So, to avoid replaying flushed counter data, we recommend performing drain when shutting down the pre-1.1.6 C* prior to upgrade. -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataSta

Re: potential data loss in Cassandra 1.1.0 .. 1.1.4

2012-10-18 Thread Jonathan Ellis
r in any other place > where this could be useful ? Good idea, I'll get that noted. Thanks! -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com

Re: Fw: Fwd: Compound primary key: Insert after delete

2012-10-22 Thread Jonathan Ellis
not working with 1.1.5. > > -Vivek > > On Mon, Oct 22, 2012 at 5:20 AM, aaron morton > wrote: > > Yes AFAIK. > > Cheers > > ----- > Aaron Morton > Freelance Developer > @aaronmorton > http://www.thelastpickle.com > > On 20/10/2012, at 12:15 AM, Vivek Mishra wrote: > > Hi, > Is it possible to reuse same compound primary key after delete? I guess it > works fine for non composite keys. > > -Vivek > > > > > > > > > > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com

Re: Read during digest mismatch

2012-11-11 Thread Jonathan Ellis
I am readind the code wrong? > > Also if this is correct, look like if the third node is in other DC, the > read will slow down even when the consistency was TWO? > > Thanks, > Sankalp > > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax,

Re: Hinted Handoff runs every ten minutes

2012-11-11 Thread Jonathan Ellis
; > I'm running 1.1.5; the bug says it's fixed in 1.0.9/1.1.0. >> > >> > How can I check to see why it keeps running HintedHandoff? >> you have tombstone is system.HintsColumnFamily use list command in >> cassandra-cli to check >> > > > > -- > > Mike Heffner > Librato, Inc. > > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com

Re: [RELEASE] Apache Cassandra 1.2 released

2013-01-07 Thread Jonathan Ellis
p://www.datastax.com/dev/blog/atomic-batches-in-cassandra-1-2 > [6]: http://www.datastax.com/dev/blog/tracing-in-cassandra-1-2 > [7]: > http://www.datastax.com/dev/blog/performance-improvements-in-cassandra-1-2 > [8]: http://www.datastax.com/dev/blog/binary-protocol > [9]: http://ww

Re: virtual nodes + map reduce = too many mappers

2013-02-16 Thread Jonathan Ellis
cts the performance since >> the range queries have a lot of overhead. >> >> Any suggestion to improve the performance? It seems like I need to lower the >> number of virtual nodes. >> >> Best Regards, >> Cem >> >> -- Jonathan Ellis Project Chair, Apache Cassandra co-founder, http://www.datastax.com @spyced

Cassandra 2.2, 3.0, and beyond

2015-06-10 Thread Jonathan Ellis
intain the 2.2 stability series until 4.0 is released, and 3.0 for six months after that.Thanks for reading this far, and I look forward to hearing how 2.2rc1 works for you!* -- Jonathan Ellis Project Chair, Apache Cassandra co-founder, http://www.datastax.com @spyced

Re: Cassandra 2.2, 3.0, and beyond

2015-06-11 Thread Jonathan Ellis
sly from 3.1 to 3.7, for > instance, including cross-version repair. > > What will be the EOL policy for releases after 3.0? Given your example, > will 3.1 still see bugfixes at this point when I decide to upgrade to 3.7? > -- Jonathan Ellis Project Chair, Apache Cassandra co-fo

Re: Cassandra 2.2, 3.0, and beyond

2015-06-11 Thread Jonathan Ellis
As soon as 8099 is done. On Thu, Jun 11, 2015 at 11:53 AM, Pierre Devops wrote: > Hi, > > 3.x beta release date ? > > 2015-06-11 16:21 GMT+02:00 Jonathan Ellis : > >> 3.1 is EOL as soon as 3.3 (the next bug fix release) comes out. >> >> On Thu, Jun 11,

Re: Cassandra 2.2, 3.0, and beyond

2015-06-11 Thread Jonathan Ellis
;> instance, including cross-version repair. >> >> What will be the EOL policy for releases after 3.0? Given your example, >> will 3.1 still see bugfixes at this point when I decide to upgrade to 3.7? >> > -- > -- > Daniel > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder, http://www.datastax.com @spyced

Failure detection false positives and vnodes

2013-11-05 Thread Jonathan Ellis
lusters as well. -- Jonathan Ellis Project Chair, Apache Cassandra co-founder, http://www.datastax.com @spyced

Wiki popularity

2013-11-19 Thread Jonathan Ellis
x27;t already on the wiki contributors whitelist, please contact me. We had to add the whitelist to stop spam. -- Jonathan Ellis Project Chair, Apache Cassandra co-founder, http://www.datastax.com @spyced

Re: Upgrading Cassandra from 1.2.11 to 2.0

2013-11-21 Thread Jonathan Ellis
rName(FBUtilities.java:469) > > at > org.apache.cassandra.locator.AbstractReplicationStrategy.getClass(AbstractReplicationStrategy.java:290) > > at org.apache.cassandra.config.KSMetaData.fromSchema(KSMetaData.java:266) > > ... 6 more > > > > > > Thanks, >

Re: Introducing farsandra: A different way to integration test with c*

2014-01-22 Thread Jonathan Ellis
yaml configurations across versions, fetching binary > cassandra from the internet), but it opens up new opportunities to developer > complicated multi-node testing scenarios which are impossible due to > re-entrant embedded cassandra code! > > Have fun. -- Jonathan Ellis Project Chair, Apache Cassandra co-founder, http://www.datastax.com @spyced

Re: GCInspector GC for ConcurrentMarkSweep running every 15 seconds

2014-02-18 Thread Jonathan Ellis
t. > > flush_largest_memtables_at: 0.75 > reduce_cache_sizes_at: 0.85 > reduce_cache_capacity_to: 0.6 > in_memory_compaction_limit_in_mb: 64 > > Does anyone have any ideas why we are seeing this so selectively on one box? > > Any cures??? > -- > John Pyeatt > Singlewire Softwa

HSHA Thrift server corruption in Cassandra 2.0.0 - 2.0.5

2014-03-08 Thread Jonathan Ellis
tps://issues.apache.org/jira/secure/attachment/12632583/CASSANDRA-6285-disruptor-heap.patch -- Jonathan Ellis Project Chair, Apache Cassandra co-founder, http://www.datastax.com @spyced

Re: How expensive are additional keyspaces?

2014-03-11 Thread Jonathan Ellis
to be in a >> different keyspace from others? Is any sort of file fragmentation >> potentially introduced just by doing this in a new keyspace as opposed >> to an exiting one? >> >> 4) Does it add any metadata overhead to the system keyspace? >> >> 5) Why m

Re: Migrating all rows from 0.6.13 to 0.7.5 over thrift?

2011-05-08 Thread Jonathan Ellis
esolver.maybeScheduleRepairs(resolved, table, > key, versions, versionSources); > >                versions.clear(); > >                versionSources.clear(); > >                return new Row(key, resolved); > >            } > > > Is that right? > > >

Re: datacenter ShardStrategy

2011-05-08 Thread Jonathan Ellis
sandra setup > .Can someone please let me know what steps / configuration changes I need to > make. > Thanks > Anurag -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com

Re: RequestResponseStage Assertion Error

2011-05-09 Thread Jonathan Ellis
eems to insert data fine, and my > distribution is very even. > > What is this error, what is causing it, and how do i fix it? > > Thanks > -Eric > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com

Re: A query in deletioelo

2011-05-09 Thread Jonathan Ellis
eone can elaborate on this. > > Thanks, > Anuya > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com

Re: Ec2 Stress Results

2011-05-09 Thread Jonathan Ellis
sing memtable thresholds, but bottom line is you're right around what we'd expect to see. Furthermore, CPU is the primary bottleneck which is what you want to see on a pure write workload. -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source

Re: Datacenter migration

2011-05-10 Thread Jonathan Ellis
if we make sure nodes have properly configured IPs and > they'll snitch using the closest node? > > If switching the placement strategy is impossible, what is the best way to > move the data from one datacenter to the other? > > Thank you! > > Regards, > > André-Philippe

Re: Small typo in conf/cassandra.yaml

2011-05-10 Thread Jonathan Ellis
;  # CommitLogSyncBatchWindowInMS milliseconds for other writes, before > > > Kind regards, > > Benoit. > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com

Re: Small typo in conf/cassandra.yaml

2011-05-10 Thread Jonathan Ellis
Comments are text, not code. On Tue, May 10, 2011 at 12:01 PM, Tyler Hobbs wrote: > On Tue, May 10, 2011 at 11:40 AM, Jonathan Ellis wrote: >> >> . inside quotations is correct in English. > > It's a subtle and non-obvious rule of English.  Besides, in a programming &

Re: Has anyone used cassandra.yml straight from 0.7.x on 0.8.x?

2011-05-10 Thread Jonathan Ellis
Start w/ the 0.8 one and add your modifications to it. On Tue, May 10, 2011 at 4:24 PM, Larry Liu wrote: > Clearly it doesn't work if go this route. Just wonder if anyone has such > experience which can give me some pointers. > > Thanks. > -- Jonathan Ellis Project Chair,

Re: Has anyone used cassandra.yml straight from 0.7.x on 0.8.x?

2011-05-10 Thread Jonathan Ellis
; > experience which can give me some pointers. >> > >> > Thanks. >> > >> >> >> >> -- >> Jonathan Ellis >> Project Chair, Apache Cassandra >> co-founder of DataStax, the source for professional Cassandra support >> http://www.dat

Re: Cassandra node throws NPE on startup

2011-05-10 Thread Jonathan Ellis
e.org/jira/browse/CASSANDRA-1889 which is in > resolution "cannot reproduce". > What can I do to make the node starting again? > Thanks in advance and best regards > Udo -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com

Re: compaction strategy

2011-05-11 Thread Jonathan Ellis
a simulation on potential worst case scenarios > if many of the buckets end up with 3 sstables and don't compact for a while. > The disk space requirements  get pretty bad even without getting into > theoretical worst cases. > Regards, > Terje -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com

Re: How to invoke getNaturalEndpoints with jconsole?

2011-05-11 Thread Jonathan Ellis
question on jconsole rather than cassandra, how can I invoke >>>>> getNaturalEndpoints with jconsole? >>>>> >>>>> org.apache.cassandra.service.StorageService.Operations.getNaturalEndpoints >>>>> >>>>> I want to run this met

Re: Index interval tuning

2011-05-11 Thread Jonathan Ellis
for the bloom filter. If there were a lot of key cache hits >> and a few false positives the ratio would be wrong. I'll ask around, does >> not seem to apply to Hectors case though. > > 0.7.1  No key cache. > > BloomFilterFalsePositives: 48130 > Read Count: 153973494

Re: Choice of Index

2011-05-11 Thread Jonathan Ellis
k COMPANY > index. > Does Cassandra always uses Index on first "where" clause? > I can always change the above query to have account number as the first > "where" clause. > Just wanted to understand whether any kind of index optimization built into > Cassandr

Re: Excessive allocation during hinted handoff

2011-05-11 Thread Jonathan Ellis
58457600 > > This will eventually trigger old-gen GC and then the process repeats > until hinted handoff finishes. > > The build version was updated from 0.7.2 to 0.7.5 but the behavior was > exactly the same. > > Thank you. > > -- Jonathan Ellis Project Cha

Re: Cassandra causing very high load on CPU's 0.6.3

2011-05-12 Thread Jonathan Ellis
t, please notify the > sender immediately and do not disclose the contents to another person > use it for any purpose or store or copy the information in any medium. > Internet communications cannot be guaranteed to be timely, secure, error > or virus-free. We do not accept liability

Re: running TPC-C on cassandra clusters

2011-05-12 Thread Jonathan Ellis
our loading time, but also effect the amount of data we can load. > > So we need to figure out why the nodes continue to be up and down and fix > this problem. > > Thanks for any help! > > Best, > Xiaowei > > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com

Re: Crash when uploading large data sets

2011-05-12 Thread Jonathan Ellis
leReader.java (line 154) Opening > /mnt/scratch/jcipar/cassandra/data/system/LocationInfo-f-2 >  INFO [main] 2011-05-12 19:02:21,344 SSTableReader.java (line 154) Opening > /mnt/scratch/jcipar/cassandra/data/system/LocationInfo-f-1 >  INFO [main] 2011-05-12 19:02:21,379 DatabaseDescriptor.java (line 461) > Loading schema version 9467ffe0-7cea-11e0-8ddc-f74ef74e382f -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com

Re: running TPC-C on cassandra clusters

2011-05-12 Thread Jonathan Ellis
https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7 On Thu, May 12, 2011 at 8:33 PM, Xiaowei Wang wrote: > Thanks Jonathan, but can you provide some links about 0.7 svn branch? > > 2011/5/12 Jonathan Ellis >> >> I'd recommend trying the 0.7 svn branch (so

Re: running TPC-C on cassandra clusters

2011-05-12 Thread Jonathan Ellis
Not if you want the pausing/marking down fixes that were done more recently. :) On Thu, May 12, 2011 at 8:39 PM, Xiaowei Wang wrote: > Oh sorry, we use cassandra-0.7.4 already. Is the version fine? > > 2011/5/12 Jonathan Ellis >> >> https://svn.apache.org/repos/asf/cassand

Re: Inter node communication over UDP

2011-05-13 Thread Jonathan Ellis
pment time i should expect to code udp? > > -pankaj > > -- > View this message in context: > http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Inter-node-communication-over-UDP-tp6358459p6358459.html > Sent from the cassandra-u...@incubator.apache.org mailing l

Re: How to invoke getNaturalEndpoints with jconsole?

2011-05-13 Thread Jonathan Ellis
e.cassandra.service.StorageService.getNaturalEndpoints(StorageService.java:1497) > [snip] >        at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) >        at java.lang.Thread.run(Thread.java:636) > > > 2011/5/11 Jonathan Ellis : >

Re: Crash when uploading large data sets

2011-05-13 Thread Jonathan Ellis
ava (line >>>>> 128) GC for ParNew: 375 ms, 576641232 reclaimed leaving 5471432144 used; >>>>> max is 7774142464 >>>>> INFO [ScheduledTasks:1] 2011-05-12 19:02:08,857 GCInspector.java (line >>>>> 128) GC for ParNew: 450 ms,

Re: Native heap leaks?

2011-05-15 Thread Jonathan Ellis
cess (our C++ app) is as big as the forking >> one (the 2nd JVM). Anyways, the Cassandra process leaks with both, >> vm.overcommit_memory=0 (the default) and 1. >> >> Whether it is the native heap that leaks or something else, I think >> that 1.1G of additional RAM for 1G of Java heap can't be normal. I'd >> be grateful for any insights or pointers at what to try next. >> >> [1] http://bmaurer.blogspot.com/2006/03/memory-usage-with-smaps.html >> [2] http://www.win.tue.nl/~aeb/linux/lk/lk-9.html#ss9.6 >> > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com

Re: Concurrent Mark Sweep taking 12 seconds

2011-05-16 Thread Jonathan Ellis
64 MB memtables. > > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com

Re: Dynamic Snitch Problem

2011-05-17 Thread Jonathan Ellis
ed2)) > +        if (scored1 == null) { > +            scored1 = 0.0; > +        } > + > +        if (scored2 == null) { > +            scored2 = 0.0; > +        } > + > +        if (scored1.equals(scored2)) >             return subsnitch.compareEndpoints(target, a1, a

Re: Inconsistent results using secondary indexes between two DC

2011-05-17 Thread Jonathan Ellis
doesn't return correct number of rows > (it seems that most of the times there some of the rows are missing). > Tried running nodetool repair, and nodetool scrub but this doesn't seem to > help. > > What might the cause of such behaviour? > > -- > KosciaK >

Re: Question regarding Compaction

2011-05-17 Thread Jonathan Ellis
nothing is running on machine's. > > So here is my question do i need to run nodetool compact or not and what > about noretool rapier. > > -- > S.Ali Ahsan > > > > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com

Re: Questions about using MD5 encryption with SimpleAuthenticator

2011-05-17 Thread Jonathan Ellis
-13:~/apache-cassandra-0.8.0-beta1$ >> bin/cassandra-cli -h ec2-50-19-26-189.compute-1.amazonaws.com -p 9160 -u >> jdoe -pw 9fa1b39e7eb877367213e6f7e37d0b01 -k MDR >> Login failure. Did you specify 'keyspace', 'username' and 'password'? >> >> ubuntu@domU-12-31-39-0C-D9-13:~/apache-cassandra-0.8.0-beta1$ >> bin/cassandra-cli -h ec2-50-19-26-189.compute-1.amazonaws.com -p 9160 -u >> jdoe -pw '9fa1b39e7eb877367213e6f7e37d0b01' -k MDR >> Login failure. Did you specify 'keyspace', 'username' and 'password'? >> >> Hmm, what am I doing wrong? >> - Sameer >> > > > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com

Re: [hadoop] Counters in ColumnFamilyOutputFormat?

2011-05-19 Thread Jonathan Ellis
adoop.arvo classes > > Does it make sense to use counters for hadoop output? > > If i try rewriting ColumnFamilyOutputFormat and friends should it be to > the normal ..avro classes, or to something else? > > ~mck > > -- Jonathan Ellis Project Chair, Apache Cassand

Re: java.io.IOError: java.io.EOFException with version 0.7.6

2011-05-19 Thread Jonathan Ellis
        at java.lang.Thread.run(Unknown Source) > Caused by: java.io.EOFException >         at java.io.RandomAccessFile.readByte(Unknown Source) >         at > org.apache.cassandra.utils.ByteBufferUtil.readShortLength(ByteBufferUtil.java:324) >         at > org.apache.cassandra.utils.ByteBufferUtil.readWithShortLength(ByteBufferUt

Re: selecting data

2011-05-19 Thread Jonathan Ellis
e of > columns. > get .['']['']   Get a slice of sub > columns. > get .[''][''] Get a column > value. > get .['']['']['']  Get a sub column > value. >

Re: Commitlog Disk Full

2011-05-19 Thread Jonathan Ellis
tes started failing. At this point we stopped the cluster. >> Over the course of the day we inserted around 25G of data. Our columns >> values are pretty small. >> I understand that cassandra periodically cleans up the commitlog >> directories by generating sstables in datadir

Re: Can I use secondary index with any partitioner

2011-05-20 Thread Jonathan Ellis
Yes. On Thu, May 19, 2011 at 7:24 PM, Dave Rav wrote: > Can I use secondary index with any partitioner > > > > 1) RandomPartitioner > 2) ByteOrderedPartitioner > > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professiona

Re: simple implementation of counters

2011-05-20 Thread Jonathan Ellis
post-0.8.0. > Second question:  If I want to implement counters, they have to exist > in a seperate column family from the rest of my data? Isn't that the same as the first question? :) -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professi

Re: cannot parse as hex bytes

2011-05-20 Thread Jonathan Ellis
se as hex bytes" when doing the > > "Next we add some users: > [default@demo] set users[bsanderson][full_name] = 'Brandon Sanderson';" > > section > > I can confirm that CASSANDRA-2497 does work > -- Jonathan Ellis Project Chair, Apache Cass

Re: Inconsistent results using secondary indexes between two DC

2011-05-20 Thread Jonathan Ellis
ry time I get only 3 rows it's the same list of 3 rows > on both affected nodes. > > > 2011/5/17 Jonathan Ellis : >> Nothing comes to mind. >> >> I'd start by using sstable2json to see if the missing rows are in the >> main data CF -- i.e., are the

Re: Can I use secondary index with any partitioner

2011-05-20 Thread Jonathan Ellis
exClause { > 1: required list expressions > 2: required binary start_key, > 3: required i32 count=100, > } > > >  >Yes. > >   On Thu, May 19, 2011 at 7:24 PM, Dave Rav wrote: >   > Can I use secondary index with any partitioner >   > >   > &

Re: CounterColumn

2011-05-20 Thread Jonathan Ellis
be in cassandra 0.8 -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com

Re: extremely high temporary disk utilization 0.7.5

2011-05-21 Thread Jonathan Ellis
; What could be causing this massive temporary disk allocation? > > Is it malloc?     Is this an indication that something is not configured > correctly? Is this a bug? > > Any help would be appreciated! > > Jon > > > > -- Jonathan Ellis Project Chair, Apache Ca

Re: batch dump of data from cassandra?

2011-05-22 Thread Jonathan Ellis
ulti-get underneath just sends out per-key lookups one by > one, while I really do not care about which key corresponds to which > result, a simple scraping of the underlying SSTable would > be perfect, because I could utilize the file cache coherency as I read > down the file. > > &

Re: What's the valid name format of the column family in cassandra?

2011-05-23 Thread Jonathan Ellis
\w+ On Mon, May 23, 2011 at 12:28 AM, Dikang Gu wrote: > What's the naming convention of the column family in cassandra? I did not > find this in the wiki yet... > Thanks. > > -- > Dikang Gu > 0086 - 18611140205 > -- Jonathan Ellis Project Chair, Apache Cassandr

Re: Inconsistent results using secondary indexes between two DC

2011-05-23 Thread Jonathan Ellis
'll want to rebuild the index. > By the way - is it possible to force the rebuild of the secondary > indexes from scratch? Yes, just remove the index definition from the column_metadata, then re-add it. (0.7.7 adds DROP INDEX to the cli.) -- Jonathan Ellis Project Chair, Apache Cassandra

Cassandra training this week

2011-05-23 Thread Jonathan Ellis
ce on this list. Sign up at http://datastaxseattle.eventbrite.com/ and http://datastaxuk.eventbrite.com/. -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com

Re: issue/minor bug with counters ?

2011-05-24 Thread Jonathan Ellis
after params ) > > > > this can be changed easily by modifying the CounterColumn.resolve() so > that it updates the > currentThroughput with the ***difference  of old column size and > new column size, not just the size of new column. -- Jonathan Ellis Project Chair,

Re: "range query" vs "slice range query"

2011-05-25 Thread Jonathan Ellis
mp;lpg=PA134&dq=cassandra+%22range+query%22+%22range+slice%22&source=bl&ots=XoPB4uA60u&sig=uDDoQe0FRkQobHnr-vPvvQ3B8TQ&hl=en&ei=ub3cTcvGLZLevQOuxs3CDw&sa=X&oi=book_result&ct=result&resnum=4&ved=0CCwQ6AEwAw#v=onepage&q=cassandra%20%22range%20query%22%20

Re: Priority queue in a single row - performance falls over time

2011-05-25 Thread Jonathan Ellis
> Please contact the sender if you believe you have received this email in > error. QinetiQ may monitor email traffic data and also the content of > email for the purposes of security. QinetiQ Limited (Registered in > England & Wales: Company Number: 3796233) Registered

Re: OOM recovering failed node with many CFs

2011-05-26 Thread Jonathan Ellis
ace, and are built faster than the connection can send > them. Therefore, they accumulate in OutboundTcpConnection.queue, until > memory is completely filled. > > Any suggestions? Can I change something to make this work, apart from > reducing the number of CFs? > > Flavio > -- Jonat

Re: Forcing Cassandra to free up some space

2011-05-26 Thread Jonathan Ellis
-> nodetool compact -> ?? > > Is there a way for me to make (or even gently suggest to) Cassandra that it > may be a good time to free up some space? > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com

Re: Forcing Cassandra to free up some space

2011-05-26 Thread Jonathan Ellis
standing that > System.gc "forces" gc.  It does not. It is a suggestion only. The vm always > has the option as to when and how much it gcs > > On May 26, 2011 2:51 PM, "Jonathan Ellis" wrote: > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataSta

Re: Forcing Cassandra to free up some space

2011-05-26 Thread Jonathan Ellis
l actually >> invoke a full collection. >> >> On Thu, May 26, 2011 at 2:18 PM, Jeffrey Kesselman wrote: >>> Actually this is no gaurantee.   Its a common misunderstanding that >>> System.gc "forces" gc.  It does not. It is a suggestion only. The vm alw

Re: OOM recovering failed node with many CFs

2011-05-26 Thread Jonathan Ellis
.activate(AbstractCassandraDaemon.java:314) >        at > org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:79) > > > Il 5/26/2011 6:04 PM, Jonathan Ellis ha scritto: >> >> Sounds like a legitimate bug, although looking through the code I'm >>

Re: Forcing Cassandra to free up some space

2011-05-26 Thread Jonathan Ellis
plications. > > Far from being pedantic, not depending on undocumented behavior is > simply good engineering. > > > On Thu, May 26, 2011 at 4:51 PM, Jonathan Ellis wrote: >> I've read the relevant source. While you're pedantically correct re >> the spec, you&#

Re: Consistency Level throughput

2011-05-26 Thread Jonathan Ellis
t: > 6 nodes. Replication factor is 3. > > ONE and QUORUM it was not for the throughput difference. > ALL just extremely slow. > Not ONE had only half the throughput. > ONE, TWO and THREE were similar results. > > Is there any difference between 2 nodes and 3 nodes? > >

Re: Fwd: Mixing different OS in a cassandra cluster

2011-05-27 Thread Jonathan Ellis
Right. This is not supported. On May 27, 2011 7:25 AM, "Mikael Wikblom" wrote: > Hi, > > I tried to mix windows and linux in a cassandra cluster version 0.7.4 > and got an exception on a linux node bootstrapping from a windows node. > > java.lang.StringIndexOutOfBoundsException: String index out o

Re: python cql driver select count(*) failed

2011-05-27 Thread Jonathan Ellis
(and if it did, it would be the SQL row count, which is different than the column count from pycassa.) On Fri, May 27, 2011 at 10:13 AM, Jonathan Ellis wrote: > CQL does not support count(). > > On Fri, May 27, 2011 at 4:18 AM, Donal Zang wrote: >> Hi, >>  I'm us

Re: python cql driver select count(*) failed

2011-05-27 Thread Jonathan Ellis
lsh> select count(1) from t_container where KEY = '2011041210' ; > (0,) > cqlsh> select count(*) from t_container where KEY = '2011041210' ; > (0,) > Any ideas? Should the KEY be converted to bytes? > > Thanks! > Donal > -- Jonathan Ellis Project

Re: Cluster not recovering when a single node dies

2011-05-27 Thread Jonathan Ellis
pected > initially). They never get out of that state. > > Is there something we can do in nodetool to make the remaining nodes > function? > > Thanks. > > -- > - > Paul Loy > p...@keteracel.com > http://uk.linkedin.com/

Re: Cluster not recovering when a single node dies

2011-05-27 Thread Jonathan Ellis
I guess my next question is: the data should be complete somewhere in the > ring with RF = 2. Does cassandra not redistribute the replication ring > without a nodetool decommission call? > > On Fri, May 27, 2011 at 4:45 PM, Paul Loy wrote: >> >> ahh, thanks. >>

Re: expiring + counter column?

2011-05-27 Thread Jonathan Ellis
No. See comments to https://issues.apache.org/jira/browse/CASSANDRA-2103 On Fri, May 27, 2011 at 7:29 PM, Yang wrote: > is this combination feature available , or on track ? > > thanks > Yang > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax,

Re: new thing going on with repair in 0.7.6??

2011-05-28 Thread Jonathan Ellis
On Sat, May 28, 2011 at 5:43 AM, Jonathan Colby wrote: > It might just not have occurred to me in the previous 0.7.4 version, > but when I do a repair on a node in v0.7.6, it seems like data is also > synced with neighboring nodes. This has always been repair's behavior, yes. --

Re: Moving a CF between keyspaces

2011-05-30 Thread Jonathan Ellis
keyspace > Is there any best practice to do it or I need to read/write all rows? > > Best regards > > Carlo > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com

Re: problem in starting the cassandra single node setup

2011-05-30 Thread Jonathan Ellis
ich is useful for debugging server >> config. The output you have looks like it's working fine. You need to start >> another terminal and connect to it from a cassandra client. >> >> Marcus > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com

Re: Re : pb deletion

2011-05-31 Thread Jonathan Ellis
> > Are you using a "real" timestamp such that the deletion is stamped > higher than the insertion? > > -- > / Peter Schuller > > > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com

  1   2   3   4   5   6   7   8   9   10   >