Re: Starting Cassandrs after restore of Data - get error

2017-07-08 Thread Subroto Barua
Use "dos2unix" utility when editing/moving from windows to Linux -- could be a 
formatting issue 

Subroto 

> On Jul 7, 2017, at 9:47 AM, Jonathan Baynes  
> wrote:
> 
> 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  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  
>>> 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) xx
>>> jonathan.bay...@tradeweb.com
>>>  
>>>follow us: 
>>> —
>>> A leading marketplace 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 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.
>>> 
>> 
> 
> 
> 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 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.
> 


Re: Starting Cassandrs after restore of Data - get error

2017-07-07 Thread Nitan Kainth
Yes it is possible, generally quotes gets messed up. I would suggest as 
alternate comment num_tokens and start. Then compare output of node tool ring 
on source and target.

> On Jul 7, 2017, at 9:47 AM, Jonathan Baynes  
> wrote:
> 
> 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  > 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 >> > 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) xx
>>> jonathan.bay...@tradeweb.com 
>>>  
>>>     follow us:   
>>> 
>>> 
>>> 
>>> —
>>> A leading marketplace  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 
>>>  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 .
>>> 
>> 
> 
> 
> 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 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.
> 



RE: Starting Cassandrs after restore of Data - get error

2017-07-07 Thread Durity, Sean R
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) xx
jonathan.bay...@tradeweb.com<mailto:jonathan.bay...@tradeweb.com>

<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.tradeweb.com_=DwMF-g=MtgQEAMQGqekjTjiAhkudQ=aC_gxC6z_4f9GLlbWiKzHm1vucZTtVYWDDvyLkh8IaQ=kQ0FCyoiO6VRK9xpUiOizllXdpqkpmVF-mSehsF4kEw=9sxkDe9286NRJz7JNRgM0y549J5UjSbOb1flrcuh3bQ=>
   follow us:  
<https://urldefense.proofpoint.com/v2/url?u=https-3A__www.linkedin.com_company_tradeweb-3Ftrk-3Dtop-5Fnav-5Fhome=DwMFaQ=sA0VaJZJFLZREu2pbPeqjXHJ-Wd9NNzgHW3gpUOLSSk=CNKccIKIKCVbYTu1VxR8dIOP6NLpf4fYjidpNm-diQ8=6Y8NdF3H6u8tRTi5hVhL4s48FRlJILendSdwl23uaVc=rrL3dDGS2nYy57Xhn_q3b6YMS_ndgUljZQ8p0Q8XYdg=>
   
<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.twitter.com_Tradeweb=DwMFaQ=sA0VaJZJFLZREu2pbPeqjXHJ-Wd9NNzgHW3gpUOLSSk=CNKccIKIKCVbYTu1VxR8dIOP6NLpf4fYjidpNm-diQ8=6Y8NdF3H6u8tRTi5hVhL4s48FRlJILendSdwl23uaVc=r5pLltW1HrPoL3HU0c5_KYUe0nkBfo1iv8b_LKZdfSE=>
-
A leading 
marketplace<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.tradeweb.com_About-2DUs_Awards_=DwMF-g=MtgQEAMQGqekjTjiAhkudQ=aC_gxC6z_4f9GLlbWiKzHm1vucZTtVYWDDvyLkh8IaQ=kQ0FCyoiO6VRK9xpUiOizllXdpqkpmVF-mSehsF4kEw=7zXB74zx2OEKc_0rZHvHfBYJ8p6uoCey3SY6dd_MvR4=>
 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_=DwMF-g=MtgQEAMQGqekjTjiAhkudQ=aC_gxC6z_4f9GLlbWiKzHm1vucZTtVYWDDvyLkh8IaQ=kQ0FCyoiO6VRK9xpUiOizllXdpqkpmVF-mSehsF4kEw=9sxkDe9286NRJz7JNRgM0y549J5UjSbOb1flrcuh3bQ=>.




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, eith

Re: Starting Cassandrs after restore of Data - get error

2017-07-07 Thread Jonathan Baynes
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 
> 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 
> 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) xx
jonathan.bay...@tradeweb.com

   follow us:  

   

—
A leading marketplace 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 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.




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 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.


Re: Starting Cassandrs after restore of Data - get error

2017-07-07 Thread Nitan Kainth
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  
> 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) xx
> jonathan.bay...@tradeweb.com 
>  
>     follow us:   
> 
> 
> —
> A leading marketplace  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  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 
> .
>