incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Error with Cassandra Only Example in contrib/client_only
Date Tue, 02 Mar 2010 04:34:38 GMT
That means it doesn't know any of your other nodes.  Probably you
don't have it configured with a seed.

On Mon, Mar 1, 2010 at 9:31 PM, JKnight JKnight <beuknight@gmail.com> wrote:
> Dear all,
>
> I tried to run ClientOnlyExample.java on contrib/client_only. But the code
> did not run. The  error is:
> Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 0,
> Size: 0
>     at java.util.ArrayList.rangeCheck(ArrayList.java:571)
>     at java.util.ArrayList.get(ArrayList.java:349)
>     at
> org.apache.cassandra.locator.RackUnawareStrategy.getNaturalEndpoints(RackUnawareStrategy.java:58)
>     at
> org.apache.cassandra.locator.AbstractReplicationStrategy.getNaturalEndpoints(AbstractReplicationStrategy.java:66)
>
> Could you give me some advice?
> Thank a lot for support.
> --
> Best regards,
> JKnight
>

Mime
View raw message