Thanks everyone for your responses.

On Thu, May 12, 2011 at 1:18 AM, Sylvain Lebresne <sylv...@datastax.com>wrote:

> On Thu, May 12, 2011 at 1:58 AM, Anurag Gujral <anurag.guj...@gmail.com>
> wrote:
> > Hi All,
> >              I am testing network topology strategy in cassandra I am
> using
> > two nodes , one node each in different data center.
> > Since the nodes are in different dc I assigned token 0 to both the nodes.
> > I added both the nodes as seeds in the cassandra.yaml and  I am  using
> > properyfilesnitch as endpoint snitch where I have specified the colo
> > details.
> >
> > I started first node then I when I restarted second node I got an error
> that
> > token "0" is already being used.Why am I getting this error.
>
> You cannot have two nodes with the same token, so you'll have to use "0"
> and
> "1" for instance. It's true that with NTS you have to think of each
> datacenter
> as a separate ring, but there is still this restriction that each token
> must be
> different across the whole cluster.
>
> >
> > Second Question: I already have cassandra running in two different data
> > centers I want to add a new keyspace which uses networkTopology strategy
> > in the light of above errors how can I accomplish this.
> >
> >
> > Thanks
> > Anurag
> >
>

Reply via email to