Re: Cassandra nodes on EC2 in two different regions not communicating

2011-02-28 Thread Himanshi Sharma
Hi Peter,

I made changes as per ur patch. Still its nt working. Using external ip in 
Listen addr gives this exception.

ERROR 11:47:14,092 Exception encountered during startup.
java.net.BindException: Cannot assign requested address
at sun.nio.ch.Net.bind(Native Method)
at 
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:137)
at 
sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:77)
at 
sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:70)
at 
org.apache.cassandra.net.MessagingService.listen(MessagingService.java:138)
at 
org.apache.cassandra.service.StorageService.initServer(StorageService.java:319)
at 
org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:99)
at 
org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:177)
Exception encountered during startup.
java.net.BindException: Cannot assign requested address
at sun.nio.ch.Net.bind(Native Method)
at 
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:137)
at 
sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:77)
at 
sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:70)
at 
org.apache.cassandra.net.MessagingService.listen(MessagingService.java:138)
at 
org.apache.cassandra.service.StorageService.initServer(StorageService.java:319)
at 
org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:99)
at 
org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:177)

So i kept them blank. Cassandra runs. Bt still not showing nodes of other 
regions in nodetool cmd, whereas i am able to ping and telnet.

Thanks,
Himanshi Sharma




From:
Peter Fales 
To:
"dev@cassandra.apache.org" 
Date:
02/24/2011 06:44 PM
Subject:
Re: Cassandra nodes on EC2 in two different regions not communicating



I sent a note mentioning this yesterday and referring to my post from
last September. See:
http://www.mail-archive.com/user@cassandra.apache.org/msg05692.html

On Thu, Feb 24, 2011 at 07:04:03AM -0600, Himanshi Sharma wrote:
> Peter,
> 
> Please tell me the options. I m new to cassandra and definitely want to 
> try out.
> 
> Thanks,
> Himanshi
> 
> 
> 
> 
> From:
> Peter Fales 
> To:
> "dev@cassandra.apache.org" 
> Date:
> 02/24/2011 06:30 PM
> Subject:
> Re: Cassandra nodes on EC2 in two different regions not communicating
> 
> 
> 
> It's pretty easy to do if you're willing/able to make some small changes
> to the Cassandra code.   Is that an option?
> 
> On Thu, Feb 24, 2011 at 06:52:24AM -0600, Himanshi Sharma wrote:
> > Hi All,
> > 
> > I am trying to configure a cassandra cluster of 2 nodes in different 
> > regions of amazon ec2. 
> > 
> > Nodes are running fine but when i try nodetool command with ring 
option 
> i 
> > get single node.
> > 
> > And  both the nodes are able to ping each other, telnet each other. 
Not 
> > able to figure out what is the problem.
> > 
> > Plz help
> > 
> > Thanks,
> > Himanshi Sharma
> > 
> > =-=-=
> > Notice: The information contained in this e-mail
> > message and/or attachments to it may contain 
> > confidential or privileged information. If you are 
> > not the intended recipient, any dissemination, use, 
> > review, distribution, printing or copying of the 
> > information contained in this e-mail message 
> > and/or attachments to it are strictly prohibited. If 
> > you have received this communication in error, 
> > please notify us by reply e-mail or telephone and 
> > immediately and permanently delete the message 
> > and any attachments. Thank you
> > 
> 
> -- 
> Peter Fales
> Alcatel-Lucent
> Member of Technical Staff
> 1960 Lucent Lane
> Room: 9H-505
> Naperville, IL 60566-7033
> Email: peter.fa...@alcatel-lucent.com
> Phone: 630 979 8031
> 
> 
> =-=-=
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain 
> confidential or privileged information. If you are 
> not the intended recipient, any dissemination, use, 
> review, distribution, printing or copying of the 
> information contained in this e-mail message 
> and/or attachments to it are strictly prohibited. If 
> you have received this communication in error, 
> please notify us by reply e-mail or telephone and 
> immediately and permanently delete the message 
> and any attachments. Thank you
> 

-- 
Peter Fales
Alcatel-Lucent
Member of Technical Staff
1960 Lucent Lane
Room: 9H-505
Naperville, IL 60566-7033
Email: peter.fa...@alcatel-lucent.com
Phone: 630 979 8031


=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strict

Re: Cassandra nodes on EC2 in two different regions not communicating

2011-02-28 Thread Peter Fales
Are you sure you actually re-built Cassandra after making those source
code changes?   I believe "Cannot assign requested address" is the error you
get with the official Cassandra because the external IP address is 
not the actual address of an adapter.   The patches change the code
so that it listens on all interfaces (so it should not actually be
requesting a specific address)

On Mon, Feb 28, 2011 at 06:23:53AM -0600, Himanshi Sharma wrote:
> Hi Peter,
> 
> I made changes as per ur patch. Still its nt working. Using external ip in 
> Listen addr gives this exception.
> 
> ERROR 11:47:14,092 Exception encountered during startup.
> java.net.BindException: Cannot assign requested address
> at sun.nio.ch.Net.bind(Native Method)
> at 
> sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:137)
> at 
> sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:77)
> at 
> sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:70)
> at 
> org.apache.cassandra.net.MessagingService.listen(MessagingService.java:138)
> at 
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:319)
> at 
> org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:99)
> at 
> org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:177)
> Exception encountered during startup.
> java.net.BindException: Cannot assign requested address
> at sun.nio.ch.Net.bind(Native Method)
> at 
> sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:137)
> at 
> sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:77)
> at 
> sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:70)
> at 
> org.apache.cassandra.net.MessagingService.listen(MessagingService.java:138)
> at 
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:319)
> at 
> org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:99)
> at 
> org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:177)
> 
> So i kept them blank. Cassandra runs. Bt still not showing nodes of other 
> regions in nodetool cmd, whereas i am able to ping and telnet.
> 
> Thanks,
> Himanshi Sharma
> 
> 
> 
> 
> From:
> Peter Fales 
> To:
> "dev@cassandra.apache.org" 
> Date:
> 02/24/2011 06:44 PM
> Subject:
> Re: Cassandra nodes on EC2 in two different regions not communicating
> 
> 
> 
> I sent a note mentioning this yesterday and referring to my post from
> last September. See:
> http://www.mail-archive.com/user@cassandra.apache.org/msg05692.html
> 
> On Thu, Feb 24, 2011 at 07:04:03AM -0600, Himanshi Sharma wrote:
> > Peter,
> > 
> > Please tell me the options. I m new to cassandra and definitely want to 
> > try out.
> > 
> > Thanks,
> > Himanshi
> > 
> > 
> > 
> > 
> > From:
> > Peter Fales 
> > To:
> > "dev@cassandra.apache.org" 
> > Date:
> > 02/24/2011 06:30 PM
> > Subject:
> > Re: Cassandra nodes on EC2 in two different regions not communicating
> > 
> > 
> > 
> > It's pretty easy to do if you're willing/able to make some small changes
> > to the Cassandra code.   Is that an option?
> > 
> > On Thu, Feb 24, 2011 at 06:52:24AM -0600, Himanshi Sharma wrote:
> > > Hi All,
> > > 
> > > I am trying to configure a cassandra cluster of 2 nodes in different 
> > > regions of amazon ec2. 
> > > 
> > > Nodes are running fine but when i try nodetool command with ring 
> option 
> > i 
> > > get single node.
> > > 
> > > And  both the nodes are able to ping each other, telnet each other. 
> Not 
> > > able to figure out what is the problem.
> > > 
> > > Plz help
> > > 
> > > Thanks,
> > > Himanshi Sharma
> > > 
> > > =-=-=
> > > Notice: The information contained in this e-mail
> > > message and/or attachments to it may contain 
> > > confidential or privileged information. If you are 
> > > not the intended recipient, any dissemination, use, 
> > > review, distribution, printing or copying of the 
> > > information contained in this e-mail message 
> > > and/or attachments to it are strictly prohibited. If 
> > > you have received this communication in error, 
> > > please notify us by reply e-mail or telephone and 
> > > immediately and permanently delete the message 
> > > and any attachments. Thank you
> > > 
> > 
> > -- 
> > Peter Fales
> > Alcatel-Lucent
> > Member of Technical Staff
> > 1960 Lucent Lane
> > Room: 9H-505
> > Naperville, IL 60566-7033
> > Email: peter.fa...@alcatel-lucent.com
> > Phone: 630 979 8031
> > 
> > 
> > =-=-=
> > Notice: The information contained in this e-mail
> > message and/or attachments to it may contain 
> > confidential or privileged information. If you are 
> > not the intended recipient, any dissemination, use, 
> > review, distribution, printing or copying of the 
> > information contained in this e-mail message 
> > and/or attachments to it are strictly pr

Re: [VOTE] 0.7.3

2011-02-28 Thread Sylvain Lebresne
+1

On Sun, Feb 27, 2011 at 2:15 AM, Stephen Connolly <
stephen.alan.conno...@gmail.com> wrote:

> On 25 February 2011 21:09, Eric Evans  wrote:
>
> >
> > Shall we?  I propose the following for release as 0.7.3.
> >
> > SVN:
> >
> https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@r1074693
> > 0.7.3 artifacts: http://people.apache.org/~eevans
> >
> > The vote will be open for 72 hours.
> >
> > Thanks.
> >
> >
> > [1]: http://goo.gl/0CykW (CHANGES.txt)
> > [2]: http://goo.gl/9NNKv (NEWS.txt)
> >
> > --
> > Eric Evans
> > eev...@rackspace.com
> >
> >
> Artifacts staged for promotion to maven central at
>
> https://repository.apache.org/content/repositories/orgapachecassandra-057/
>
> *Description:*
>
> apache cassandra 0.7.3 take #1
>
> *Details:*
>
> The following artifacts have been staged to the org.apache.cassandra-057
> (u:stephenc)<
> https://repository.apache.org/content/repositories/orgapachecassandra-057>
>  repository.
>
> apache-cassandra-0.7.3-src.tar.gz.asc<
> https://repository.apache.org/content/repositories/orgapachecassandra-057/org/apache/cassandra/apache-cassandra/0.7.3/apache-cassandra-0.7.3-src.tar.gz.asc
> >
> apache-cassandra-0.7.3.pom.asc<
> https://repository.apache.org/content/repositories/orgapachecassandra-057/org/apache/cassandra/apache-cassandra/0.7.3/apache-cassandra-0.7.3.pom.asc
> >
> apache-cassandra-0.7.3-bin.tar.gz.asc<
> https://repository.apache.org/content/repositories/orgapachecassandra-057/org/apache/cassandra/apache-cassandra/0.7.3/apache-cassandra-0.7.3-bin.tar.gz.asc
> >
> apache-cassandra-0.7.3.pom<
> https://repository.apache.org/content/repositories/orgapachecassandra-057/org/apache/cassandra/apache-cassandra/0.7.3/apache-cassandra-0.7.3.pom
> >
> apache-cassandra-0.7.3-src.tar.gz<
> https://repository.apache.org/content/repositories/orgapachecassandra-057/org/apache/cassandra/apache-cassandra/0.7.3/apache-cassandra-0.7.3-src.tar.gz
> >
> apache-cassandra-0.7.3-bin.tar.gz<
> https://repository.apache.org/content/repositories/orgapachecassandra-057/org/apache/cassandra/apache-cassandra/0.7.3/apache-cassandra-0.7.3-bin.tar.gz
> >
> cassandra-all-0.7.3.pom<
> https://repository.apache.org/content/repositories/orgapachecassandra-057/org/apache/cassandra/cassandra-all/0.7.3/cassandra-all-0.7.3.pom
> >
> cassandra-all-0.7.3-javadoc.jar.asc<
> https://repository.apache.org/content/repositories/orgapachecassandra-057/org/apache/cassandra/cassandra-all/0.7.3/cassandra-all-0.7.3-javadoc.jar.asc
> >
> cassandra-all-0.7.3.jar.asc<
> https://repository.apache.org/content/repositories/orgapachecassandra-057/org/apache/cassandra/cassandra-all/0.7.3/cassandra-all-0.7.3.jar.asc
> >
> cassandra-all-0.7.3.jar<
> https://repository.apache.org/content/repositories/orgapachecassandra-057/org/apache/cassandra/cassandra-all/0.7.3/cassandra-all-0.7.3.jar
> >
> cassandra-all-0.7.3-sources.jar<
> https://repository.apache.org/content/repositories/orgapachecassandra-057/org/apache/cassandra/cassandra-all/0.7.3/cassandra-all-0.7.3-sources.jar
> >
> cassandra-all-0.7.3-javadoc.jar<
> https://repository.apache.org/content/repositories/orgapachecassandra-057/org/apache/cassandra/cassandra-all/0.7.3/cassandra-all-0.7.3-javadoc.jar
> >
> cassandra-all-0.7.3-sources.jar.asc<
> https://repository.apache.org/content/repositories/orgapachecassandra-057/org/apache/cassandra/cassandra-all/0.7.3/cassandra-all-0.7.3-sources.jar.asc
> >
> cassandra-all-0.7.3.pom.asc<
> https://repository.apache.org/content/repositories/orgapachecassandra-057/org/apache/cassandra/cassandra-all/0.7.3/cassandra-all-0.7.3.pom.asc
> >
>


Re: [VOTE] 0.7.3

2011-02-28 Thread David Boxenhorn
I installed this version and ran nodetool scrub on a CF where I suspected
this problem. I got the following error:

root@ubuntu7:/usr/local/cassandra/conf# nodetool scrub System0 Attractions

Error occured while scrubbing keyspace System0

java.util.concurrent.ExecutionException: java.io.IOError:
java.io.EOFException

at
java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)

at java.util.concurrent.FutureTask.get(FutureTask.java:83)

at
org.apache.cassandra.db.CompactionManager.performScrub(CompactionManager.java:203)

at
org.apache.cassandra.db.ColumnFamilyStore.scrub(ColumnFamilyStore.java:963)

at
org.apache.cassandra.service.StorageService.scrub(StorageService.java:1247)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at
com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:93)

at
com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:27)

at
com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:208)

at
com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:120)

at
com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:262)

at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)

at
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)

at
javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1426)

at
javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)

at
javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1264)

at
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1359)

at
javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)

at sun.rmi.transport.Transport$1.run(Transport.java:159)

at java.security.AccessController.doPrivileged(Native Method)

at sun.rmi.transport.Transport.serviceCall(Transport.java:155)

at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)

at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)

at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)

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:619)

Caused by: java.io.IOError: java.io.EOFException

at
org.apache.cassandra.io.util.ColumnIterator.deserializeNext(ColumnSortedMap.java:246)

at
org.apache.cassandra.io.util.ColumnIterator.next(ColumnSortedMap.java:262)

at
org.apache.cassandra.io.util.ColumnIterator.next(ColumnSortedMap.java:223)

at
java.util.concurrent.ConcurrentSkipListMap.buildFromSorted(ConcurrentSkipListMap.java:1493)

at
java.util.concurrent.ConcurrentSkipListMap.(ConcurrentSkipListMap.java:1443)

at
org.apache.cassandra.db.SuperColumnSerializer.deserialize(SuperColumn.java:366)

at
org.apache.cassandra.db.SuperColumnSerializer.deserialize(SuperColumn.java:314)

at
org.apache.cassandra.db.ColumnFamilySerializer.deserializeColumns(ColumnFamilySerializer.java:129)

at
org.apache.cassandra.io.sstable.SSTableIdentityIterator.getColumnFamilyWithColumns(SSTableIdentityIterator.java:172)

at
org.apache.cassandra.io.PrecompactedRow.(PrecompactedRow.java:78)

at
org.apache.cassandra.db.CompactionManager.getCompactedRow(CompactionManager.java:696)

at
org.apache.cassandra.db.CompactionManager.doScrub(CompactionManager.java:552)

at
org.apache.cassandra.db.CompactionManager.access$600(CompactionManager.java:55)

at
org.apache.cassandra.db.CompactionManager$3.call(CompactionManager.java:194)

at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

at java.util.concurrent.FutureTask.run(FutureTask.java:138)

... 3 more

Caused by: java.io.EOFException

at java.io.RandomAccessFile.readFully(RandomAccessFile.java:383

RE: [VOTE] 0.7.3

2011-02-28 Thread Jeremiah Jordan
So do we need to scrub if we are updating from 0.6.8 to this?

-Jeremiah Jordan

-Original Message-
From: Jonathan Ellis [mailto:jbel...@gmail.com] 
Sent: Friday, February 25, 2011 3:22 PM
To: dev@cassandra.apache.org
Subject: Re: [VOTE] 0.7.3

Please test nodetool scrub -- see
https://issues.apache.org/jira/browse/CASSANDRA-2217.  Anyone who
upgraded from a 0.6 or 0.7 version before 0.7.1 should run this to fix
bloom filter de/serialization.

Appropriate note of caution: we do have one open bug against scrubbing
(https://issues.apache.org/jira/browse/CASSANDRA-2240) that we have
been unable to reproduce so far.  However, nodetool scrub snapshots
before doing anything else, so testing it should be quite safe: you
can always revert to the pre-scrub snapshot.

On Fri, Feb 25, 2011 at 3:09 PM, Eric Evans  wrote:
>
> Shall we?  I propose the following for release as 0.7.3.
>
> SVN:
> https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@r1074693
> 0.7.3 artifacts: http://people.apache.org/~eevans
>
> The vote will be open for 72 hours.
>
> Thanks.
>
>
> [1]: http://goo.gl/0CykW (CHANGES.txt)
> [2]: http://goo.gl/9NNKv (NEWS.txt)
>
> --
> Eric Evans
> eev...@rackspace.com
>
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com


Re: [VOTE] 0.7.3

2011-02-28 Thread Sylvain Lebresne
If you go from 0.6.* directly to (in the process of being released) 0.7.3,
then no, you don't need
to scrub.

--
Sylvain

On Mon, Feb 28, 2011 at 4:50 PM, Jeremiah Jordan <
jeremiah.jor...@morningstar.com> wrote:

> So do we need to scrub if we are updating from 0.6.8 to this?
>
> -Jeremiah Jordan
>
> -Original Message-
> From: Jonathan Ellis [mailto:jbel...@gmail.com]
> Sent: Friday, February 25, 2011 3:22 PM
> To: dev@cassandra.apache.org
> Subject: Re: [VOTE] 0.7.3
>
> Please test nodetool scrub -- see
> https://issues.apache.org/jira/browse/CASSANDRA-2217.  Anyone who
> upgraded from a 0.6 or 0.7 version before 0.7.1 should run this to fix
> bloom filter de/serialization.
>
> Appropriate note of caution: we do have one open bug against scrubbing
> (https://issues.apache.org/jira/browse/CASSANDRA-2240) that we have
> been unable to reproduce so far.  However, nodetool scrub snapshots
> before doing anything else, so testing it should be quite safe: you
> can always revert to the pre-scrub snapshot.
>
> On Fri, Feb 25, 2011 at 3:09 PM, Eric Evans  wrote:
> >
> > Shall we?  I propose the following for release as 0.7.3.
> >
> > SVN:
> >
> https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@r1074693
> > 0.7.3 artifacts: http://people.apache.org/~eevans
> >
> > The vote will be open for 72 hours.
> >
> > Thanks.
> >
> >
> > [1]: http://goo.gl/0CykW (CHANGES.txt)
> > [2]: http://goo.gl/9NNKv (NEWS.txt)
> >
> > --
> > Eric Evans
> > eev...@rackspace.com
> >
> >
>
>
>
> --
> Jonathan Ellis
> Project Chair, Apache Cassandra
> co-founder of DataStax, the source for professional Cassandra support
> http://www.datastax.com
>


Build failed in Hudson: Cassandra #748

2011-02-28 Thread Apache Hudson Server
See 

Changes:

[jbellis] add countercolumn support to SSTableExport
patch by slebresne; reviewed by Pavel Yaskevich for CASSANDRA-2093

--
[...truncated 1811 lines...]
[junit] Testsuite: org.apache.cassandra.dht.OrderPreservingPartitionerTest
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 1.111 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.dht.RandomPartitionerTest
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.758 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.dht.RangeTest
[junit] Tests run: 13, Failures: 0, Errors: 0, Time elapsed: 0.406 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.gms.ArrivalWindowTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.112 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.gms.GossipDigestTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.052 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.gms.SerializationsTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.411 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.hadoop.ColumnFamilyInputFormatTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.181 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.BloomFilterTrackerTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.406 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.CompactSerializerTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.334 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.LazilyCompactedRowTest
[junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 2.128 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.DescriptorTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.053 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.LegacySSTableTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.34 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 12:13:59,164 Invalid file '.svn' in data directory 

[junit]  WARN 12:13:59,749 Invalid file '.svn' in data directory 

[junit] -  ---
[junit] Testsuite: org.apache.cassandra.io.sstable.SSTableReaderTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.806 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.SSTableTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.117 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.io.sstable.SSTableWriterAESCommutativeTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.32 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.SSTableWriterTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.575 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.util.BufferedRandomAccessFileTest
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.224 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.DynamicEndpointSnitchTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.155 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.NetworkTopologyStrategyTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.41 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.locator.OldNetworkTopologyStrategyTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.42 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.locator.ReplicationStrategyEndpointCacheTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.566 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.SimpleStrategyTest
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.561 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.TokenMetadataTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.398 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.service.AntiEntropyServiceCounterTest
[junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 1.02 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 12:14:21,551 Generated random token 
Token(bytes[40b62c3ed08ff4eafff86708ce2a301d]). Random tokens will result in an 
unbalanced ring; see http://wiki.apache.org/cassandra/Operations
[junit] Exception in thread "Thread-4" java.lang.RuntimeException: 
java.lang.NullPointerException
[junit] at 
org.apache.cassandra.utils.Wr

Hudson build is back to normal : Cassandra #749

2011-02-28 Thread Apache Hudson Server
See 




Re: [VOTE] 0.7.3

2011-02-28 Thread Jonathan Ellis
I'd like to get the patch to
https://issues.apache.org/jira/browse/CASSANDRA-2240 reviewed, then do
an expedited release vote with original 0.7.3 proposal + that patch.
(Without that patch, nodetool scrub is prone to OOMing and killing the
server, which is somewhat unfriendly. :)

On Fri, Feb 25, 2011 at 3:09 PM, Eric Evans  wrote:
>
> Shall we?  I propose the following for release as 0.7.3.
>
> SVN:
> https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@r1074693
> 0.7.3 artifacts: http://people.apache.org/~eevans
>
> The vote will be open for 72 hours.
>
> Thanks.
>
>
> [1]: http://goo.gl/0CykW (CHANGES.txt)
> [2]: http://goo.gl/9NNKv (NEWS.txt)
>
> --
> Eric Evans
> eev...@rackspace.com
>
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com


Re: [VOTE] 0.7.3

2011-02-28 Thread Stephen Connolly
ok, if you are respinning i can restage for central tomorrow. but i am
traveling on wed so it would be better to stage on tuesday (ie have the
respin tonight so a can stage tomorrow)

i will be working on extending maven-ant-tasks on the plane to add the
features required to generate simple poms for the cassandra artifacts. once
i have that ready and get it through a release vote @maven i will be able to
provide a patch that will enable all cassandra committers can stage to maven
central.

should simplify eric's releasing (artifacts will be in the staging repo
automatically, with gpg signatures)

respins will just be a second staging repo, and you just promote the
successful vote

- Stephen

---
Sent from my Android phone, so random spelling mistakes, random nonsense
words and other nonsense are a direct result of using swype to type on the
screen
On 28 Feb 2011 23:31, "Jonathan Ellis"  wrote:


Re: [VOTE] 0.7.3

2011-02-28 Thread Jeremy Hanna
We'd really like to see the updated fix for CASSANDRA-2255 get in there as 
well, if possible.  It's very isolated to the Hadoop output code, so it 
shouldn't be much risk.
https://issues.apache.org/jira/browse/CASSANDRA-2255

On Feb 28, 2011, at 5:27 PM, Jonathan Ellis wrote:

> I'd like to get the patch to
> https://issues.apache.org/jira/browse/CASSANDRA-2240 reviewed, then do
> an expedited release vote with original 0.7.3 proposal + that patch.
> (Without that patch, nodetool scrub is prone to OOMing and killing the
> server, which is somewhat unfriendly. :)
> 
> On Fri, Feb 25, 2011 at 3:09 PM, Eric Evans  wrote:
>> 
>> Shall we?  I propose the following for release as 0.7.3.
>> 
>> SVN:
>> https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@r1074693
>> 0.7.3 artifacts: http://people.apache.org/~eevans
>> 
>> The vote will be open for 72 hours.
>> 
>> Thanks.
>> 
>> 
>> [1]: http://goo.gl/0CykW (CHANGES.txt)
>> [2]: http://goo.gl/9NNKv (NEWS.txt)
>> 
>> --
>> Eric Evans
>> eev...@rackspace.com
>> 
>> 
> 
> 
> 
> -- 
> Jonathan Ellis
> Project Chair, Apache Cassandra
> co-founder of DataStax, the source for professional Cassandra support
> http://www.datastax.com



Re: Cassandra nodes on EC2 in two different regions not communicating

2011-02-28 Thread Himanshi Sharma
Peter,

I build Cassandra after making changes as per ur patch. Nw when try 
nodetool i get this exception. 


[root@ip-10-170-153-71 bin]#  ./nodetool -h 175.41.143.192 ring

Error connection to remote JMX agent!
java.rmi.ConnectException: Connection refused to host: 10.130.62.177; 
nested exception is:
java.net.ConnectException: Connection timed out
at 
sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
at 
sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
at 
sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:110)
at 
javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source)
at 
javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2327)
at 
javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:279)
at 
javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
at 
org.apache.cassandra.tools.NodeProbe.connect(NodeProbe.java:110)
at org.apache.cassandra.tools.NodeProbe.(NodeProbe.java:86)
at org.apache.cassandra.tools.NodeCmd.main(NodeCmd.java:476)
Caused by: java.net.ConnectException: Connection timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at 
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.(Socket.java:375)
at java.net.Socket.(Socket.java:189)
at 
sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
at 
sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
at 
sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)
... 10 more


Himanshi Sharma




From:
Peter Fales 
To:
"dev@cassandra.apache.org" 
Date:
02/28/2011 06:25 PM
Subject:
Re: Cassandra nodes on EC2 in two different regions not communicating



Are you sure you actually re-built Cassandra after making those source
code changes?   I believe "Cannot assign requested address" is the error 
you
get with the official Cassandra because the external IP address is 
not the actual address of an adapter.   The patches change the code
so that it listens on all interfaces (so it should not actually be
requesting a specific address)

On Mon, Feb 28, 2011 at 06:23:53AM -0600, Himanshi Sharma wrote:
> Hi Peter,
> 
> I made changes as per ur patch. Still its nt working. Using external ip 
in 
> Listen addr gives this exception.
> 
> ERROR 11:47:14,092 Exception encountered during startup.
> java.net.BindException: Cannot assign requested address
> at sun.nio.ch.Net.bind(Native Method)
> at 
> 
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:137)
> at 
> sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:77)
> at 
> sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:70)
> at 
> 
org.apache.cassandra.net.MessagingService.listen(MessagingService.java:138)
> at 
> 
org.apache.cassandra.service.StorageService.initServer(StorageService.java:319)
> at 
> 
org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:99)
> at 
> 
org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:177)
> Exception encountered during startup.
> java.net.BindException: Cannot assign requested address
> at sun.nio.ch.Net.bind(Native Method)
> at 
> 
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:137)
> at 
> sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:77)
> at 
> sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:70)
> at 
> 
org.apache.cassandra.net.MessagingService.listen(MessagingService.java:138)
> at 
> 
org.apache.cassandra.service.StorageService.initServer(StorageService.java:319)
> at 
> 
org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:99)
> at 
> 
org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:177)
> 
> So i kept them blank. Cassandra runs. Bt still not showing nodes of 
other 
> regions in nodetool cmd, whereas i am able to ping and telnet.
> 
> Thanks,
> Himanshi Sharma
> 
> 
> 
> 
> From:
> Peter Fales 
> To:
> "dev@cassandra.apache.org" 
> Date:
> 02/24/2011 06:44 PM
> Subject:
> Re: Cassandra nodes on EC2 in two different regions not communicating
> 
> 
> 
> I sent a note mentioning this yesterday and referring to my post from
> last September. See:
> http://www.mail-archive.com/user@cassandra.apache.o