I have seen Windows format cause problems. Run dos2unix on the cassandra.yaml 
file (on the linux box) and see if it helps.


Sean Durity
lord of the (C*) rings (Staff Systems Engineer - Cassandra)
MTC 2250
#cassandra - for the latest news and updates

From: Jonathan Baynes [mailto:jonathan.bay...@tradeweb.com]
Sent: Friday, July 07, 2017 12:48 PM
To: user@cassandra.apache.org
Subject: Re: Starting Cassandrs after restore of Data - get error

Yes both clusters match I've checked 3 Times and diff'd it as well. Would file 
format have any affect I'm amending on windows machine and returning the file 
back to Linux

Thanks
J

Sent from my iPhone

On 7 Jul 2017, at 17:43, Nitan Kainth 
<ni...@bamlabs.com<mailto:ni...@bamlabs.com>> wrote:
Jonathan,

Make sure initial tokens have values from back up cluster i.e. 256 tokens. It 
is possible to have typo.

On Jul 7, 2017, at 9:14 AM, Jonathan Baynes 
<jonathan.bay...@tradeweb.com<mailto:jonathan.bay...@tradeweb.com>> wrote:

Hi again,

Trying to restart my nodes after restoring snapshot data, initial tokens have 
been added in as per the instructions online.

In system.log I get this error (same error is I run nodetool cleanup)

Exception encountered during startup: The number of initial tokens (by 
initial_token) specified is different from num_tokens value


On both Cluster A and Cluster B the Num_tokens = 256

Ive taken the initial tokens from running this script

nodetool ring | grep "$(ifconfig | awk '/inet /{print $2}' | head -1)" | awk 
'{print $NF ","}' | xargs > /tmp/tokens

when pasting in the tokens originally I got the an error, but this was due to 
the spacing between the tokens. That error has been resolved I'm just left with 
this one?

Any ideas

Thanks
J

Jonathan Baynes
DBA
Tradeweb Europe Limited
Moor Place  *  1 Fore Street Avenue  *  London EC2Y 9DT
P +44 (0)20 77760988  *  F +44 (0)20 7776 3201  *  M +44 (0)xxxx xxxxxx
jonathan.bay...@tradeweb.com<mailto:jonathan.bay...@tradeweb.com>

<image001.jpg><https://urldefense.proofpoint.com/v2/url?u=http-3A__www.tradeweb.com_&d=DwMF-g&c=MtgQEAMQGqekjTjiAhkudQ&r=aC_gxC6z_4f9GLlbWiKzHm1vucZTtVYWDDvyLkh8IaQ&m=kQ0FCyoiO6VRK9xpUiOizllXdpqkpmVF-mSehsF4kEw&s=9sxkDe9286NRJz7JNRgM0y549J5UjSbOb1flrcuh3bQ&e=>
   follow us:  
<image002.jpg><https://urldefense.proofpoint.com/v2/url?u=https-3A__www.linkedin.com_company_tradeweb-3Ftrk-3Dtop-5Fnav-5Fhome&d=DwMFaQ&c=sA0VaJZJFLZREu2pbPeqjXHJ-Wd9NNzgHW3gpUOLSSk&r=CNKccIKIKCVbYTu1VxR8dIOP6NLpf4fYjidpNm-diQ8&m=6Y8NdF3H6u8tRTi5hVhL4s48FRlJILendSdwl23uaVc&s=rrL3dDGS2nYy57Xhn_q3b6YMS_ndgUljZQ8p0Q8XYdg&e=>
   
<image003.jpg><https://urldefense.proofpoint.com/v2/url?u=http-3A__www.twitter.com_Tradeweb&d=DwMFaQ&c=sA0VaJZJFLZREu2pbPeqjXHJ-Wd9NNzgHW3gpUOLSSk&r=CNKccIKIKCVbYTu1VxR8dIOP6NLpf4fYjidpNm-diQ8&m=6Y8NdF3H6u8tRTi5hVhL4s48FRlJILendSdwl23uaVc&s=r5pLltW1HrPoL3HU0c5_KYUe0nkBfo1iv8b_LKZdfSE&e=>
-----------------------------------------
A leading 
marketplace<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.tradeweb.com_About-2DUs_Awards_&d=DwMF-g&c=MtgQEAMQGqekjTjiAhkudQ&r=aC_gxC6z_4f9GLlbWiKzHm1vucZTtVYWDDvyLkh8IaQ&m=kQ0FCyoiO6VRK9xpUiOizllXdpqkpmVF-mSehsF4kEw&s=7zXB74zx2OEKc_0rZHvHfBYJ8p6uoCey3SY6dd_MvR4&e=>
 for electronic fixed income, derivatives and ETF trading

________________________________________________________________________
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy it. Any unauthorized copying, 
disclosure or distribution of the material in this e-mail is strictly 
forbidden. Tradeweb reserves the right to monitor all e-mail communications 
through its networks. If you do not wish to receive marketing emails about our 
products / services, please let us know by contacting us, either by email at 
contac...@tradeweb.com<mailto:contac...@tradeweb.com> or by writing to us at 
the registered office of Tradeweb in the UK, which is: Tradeweb Europe Limited 
(company number 3912826), 1 Fore Street Avenue London EC2Y 9DT. To see our 
privacy policy, visit our website @ 
www.tradeweb.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.tradeweb.com_&d=DwMF-g&c=MtgQEAMQGqekjTjiAhkudQ&r=aC_gxC6z_4f9GLlbWiKzHm1vucZTtVYWDDvyLkh8IaQ&m=kQ0FCyoiO6VRK9xpUiOizllXdpqkpmVF-mSehsF4kEw&s=9sxkDe9286NRJz7JNRgM0y549J5UjSbOb1flrcuh3bQ&e=>.


________________________________________________________________________

This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy it. Any unauthorized copying, 
disclosure or distribution of the material in this e-mail is strictly 
forbidden. Tradeweb reserves the right to monitor all e-mail communications 
through its networks. If you do not wish to receive marketing emails about our 
products / services, please let us know by contacting us, either by email at 
contac...@tradeweb.com<mailto:contac...@tradeweb.com> or by writing to us at 
the registered office of Tradeweb in the UK, which is: Tradeweb Europe Limited 
(company number 3912826), 1 Fore Street Avenue London EC2Y 9DT. To see our 
privacy policy, visit our website @ www.tradeweb.com<http://www.tradeweb.com>.

________________________________

The information in this Internet Email is confidential and may be legally 
privileged. It is intended solely for the addressee. Access to this Email by 
anyone else is unauthorized. If you are not the intended recipient, any 
disclosure, copying, distribution or any action taken or omitted to be taken in 
reliance on it, is prohibited and may be unlawful. When addressed to our 
clients any opinions or advice contained in this Email are subject to the terms 
and conditions expressed in any applicable governing The Home Depot terms of 
business or client engagement letter. The Home Depot disclaims all 
responsibility and liability for the accuracy and content of this attachment 
and for any damages or losses arising from any inaccuracies, errors, viruses, 
e.g., worms, trojan horses, etc., or other items of a destructive nature, which 
may be contained in this attachment and shall not be liable for direct, 
indirect, consequential or special damages in connection with this e-mail 
message or its attachment.

Reply via email to