Re: Cassandra failed to start when trying to move to multi-node

2017-08-01 Thread Lucas Alvarez
Hi Guys,

Sincerely I can't believe the poor log description cassandra has. I'm
really annoyed of it.  I'll be very grateful if someone can tell me what
I'm doing wrong.These are the system.log

DEBUG [MigrationStage:1] 2017-08-01 19:05:32,316 MigrationManager.java:559
- Gossiping my schema version 86afa796-d883-3932-aa73-6b017cef0d19
INFO  [main] 2017-08-01 19:05:32,321 CassandraDaemon.java:689 - Waiting for
gossip to settle before accepting client requests...
INFO  [StorageServiceShutdownHook] 2017-08-01 19:05:37,139
Gossiper.java:1500 - Announcing shutdown
DEBUG [StorageServiceShutdownHook] 2017-08-01 19:05:37,145
StorageService.java:2084 - Node /10.29.32.141 state shutdown, token
[-1123972637282389021, -1128298667864406016, -1171617287587824921,
-1215843289747623916, -1237937532710359480, -1345880644695771882,
-1349885349161311671, -1362145484087002762, -1440959214603770852,
-1512070380045849364, -15562558941953290, -1591004378839652311,
-1694940268226046775, -1864518086513990320, -1896042425201339911,
-1994292418109908520, -2003588030553215254, -2043188303385004470,
-2055903703812384971, -2109331550938473986, -2122939046043806143,
-2143152627026803975, -2185565512541871884, -2415386864109182287,
-2430846502581329454, -2470138951219298346, -2492107031933585878,
-2587773444277550225, -2637579687313334505, -2735172492291292485,
-2827584735019087585, -290431611581338475, -3071603742423637708,
-3095470153210902324, -3131544462929190835, -3135674413617886725,
-3150440806943715941, -3178396675409442894, -318497997504024006,
-3201019541810055282, -3258165039073354815, -3261780972325383197,
-3278940591444654530, -3345266284193299339, -3422326361881279245,
-3487586668918769359, -3718794461538622174, -3801631139742567423,
-3843670578950890216, -3898829803832756540, -3935407498402044613,
-4251851692152635043, -4415945217017668767, -4452225071746131035,
-453312989101992613, -4839451892769253701, -4973005214058730250,
-5053121942845257846, -5125285697334830036, -5221264363601323946,
-5262268255024886151, -5308112226622381003, -5340754668904733684,
-5355765644228414304, -5459951554417868743, -5469791190167080668,
-5527706442799493981, -559480126390194624, -5689197963457359544,
-5710004903145545370, -5710062375033871504, -58307316983765202,
-5855281765529735420, -5919381082238614185, -5942611986193812207,
-5967329331479625927, -6043267858375974505, -6087175412435843974,
-6094541573537230749, -6246887755069175918, -6280211006509663763,
-6315076974978783216, -6496176019797645480, -6647004211063512670,
-6880104183008897702, -6945857193189828758, -6999768735261214984,
-7158840023093635895, -7269185753501792655, -7323201607900629439,
-744809024780577313, -7649650761736084417, -7666412950471098887,
-7750430497460298689, -7756210366708927339, -7772309298440548768,
-7794625355497929618, -7814051108149202384, -7945368179631418161,
-7975820666185853623, -8121484732018222381, -815626395204134758,
-8188734319418852782, -8203139661838238638, -834506117667975763,
-8362422499286771777, -8426979645752596060, -8451255929616297204,
-8470204464683881322, -8478587847171371050, -8547549412865634230,
-8548035921147149972, -855526750771608018, -8688793174634127296,
-890032833656406846, -893190419569470168, -9051215292531123931,
-962827266461007569, -992770120048953975, 1157249903676150022,
1216324593091504942, 1312337923119780731, 1349448566688352375,
1369333885339882116, 1422138074730275595, 1444912153175734656,
1618884083254618295, 1650714171726687105, 1766820778600528592,
1827094503419133606, 1844353071833421671, 1846691290460555677,
1871123789771135573, 2001059651014325643, 205551488443047106,
2225900781613463715, 2235953372648717266, 224705851767608836,
22797385381515442, 2307318513561489489, 2515829181112560290,
2553364043852683755, 2651896619582180223, 2661175220973492595,
2708080120032361248, 2727648522528026014, 2731295026313523765,
2775444638430797813, 2838818340986386519, 2877910534714789924,
2924407888116243723, 3020357673071192148, 3097435134130345321,
3147758686908008129, 3243420657610994074, 3250920343344209253,
3277866773734103071, 3360948993344871080, 33715193809407712,
3399299329564806585, 3401626455895202317, 3502398306068447099,
3767304883331801067, 3774426950675899295, 3808180916121124450,
3808458941356873995, 3826803268498853584, 3864485432255730689,
3868616704793677452, 4112215614749137106, 4114694661896302657,
4186640741391099326, 4258288096841274725, 4261221646546445003,
426415935612277396, 4300203411069681689, 4465225791823721468,
4466468504386485494, 4506167237972845399, 4575257705631561911,
4700766086930901605, 4701868928277061736, 4794410065338314971,
4830352262513059936, 4941595487977074494, 4978148461725532210,
4988027989860100317, 4992483162624735456, 500527084630227,
5043195386233719595, 5070811491271577796, 5142888664069214922,
5262763252301787651, 5303355533952014988, 5357724928405091434,
5475138402136431120, 554552177710648199, 5676029841178228460,
5736545750793928834, 5740683747595890694, 

Re: Cassandra failed to start when trying to move to multi-node

2017-08-01 Thread Nitan Kainth
try with bootstrap true in that case. Start the seed node first. I think it
should work.

On Tue, Aug 1, 2017 at 4:54 PM, Lucas Alvarez  wrote:

> I'm sorry the ip address of this node in the configuration was
> 10.29.32.141.
> num_tokens is set to 256
> initial_token is commented.
>
> The server has been just installed.
> Thanks for your help
>
> 2017-08-01 17:01 GMT-03:00 Nitan Kainth :
>
>> If it is blank, you can use bootstrap: true.
>>
>> What is num_tokens and initial token values?
>>
>> On Aug 1, 2017, at 2:42 PM, Lucas Alvarez  wrote:
>>
>> Hi, I'm trying to configure Cassandra as a cluster with two nodes. When
>> trying to simple start the first node just changing this parameters:
>>
>> listen_address: 10.29.30.2
>> seed_provider: 10.29.30.2
>> rpc_address: 10.29.30.2
>> auto_bootstrap: false
>>
>> I'm getting this message and then cassandra stop loading:
>>
>> INFO  [main] 2017-08-01 15:10:13,474 StorageService.java:2087 - Node /
>> 10.29.32.141 state jump to NORMAL
>> DEBUG [main] 2017-08-01 15:10:13,479 StorageService.java:1336 - NORMAL
>> INFO  [main] 2017-08-01 15:10:13,486 CassandraDaemon.java:689 - Waiting
>> for gossip to settle before accepting client requests...
>> DEBUG [PendingRangeCalculator:1] 2017-08-01 15:10:13,491
>> PendingRangeCalculatorService.java:66 - finished calculation for 3
>> keyspaces in 8ms
>> INFO  [StorageServiceShutdownHook] 2017-08-01 15:10:17,848
>> Gossiper.java:1500 - Announcing shutdown
>>
>> I have googled to death and I'm not able to find any solution nor
>> explanation.
>> Any help will be appreciated.
>>
>> Thanks in advance.
>>
>> Lucas
>>
>>
>>
>


Re: Cassandra failed to start when trying to move to multi-node

2017-08-01 Thread Lucas Alvarez
I'm sorry the ip address of this node in the configuration was 10.29.32.141
.
num_tokens is set to 256
initial_token is commented.

The server has been just installed.
Thanks for your help

2017-08-01 17:01 GMT-03:00 Nitan Kainth :

> If it is blank, you can use bootstrap: true.
>
> What is num_tokens and initial token values?
>
> On Aug 1, 2017, at 2:42 PM, Lucas Alvarez  wrote:
>
> Hi, I'm trying to configure Cassandra as a cluster with two nodes. When
> trying to simple start the first node just changing this parameters:
>
> listen_address: 10.29.30.2
> seed_provider: 10.29.30.2
> rpc_address: 10.29.30.2
> auto_bootstrap: false
>
> I'm getting this message and then cassandra stop loading:
>
> INFO  [main] 2017-08-01 15:10:13,474 StorageService.java:2087 - Node /
> 10.29.32.141 state jump to NORMAL
> DEBUG [main] 2017-08-01 15:10:13,479 StorageService.java:1336 - NORMAL
> INFO  [main] 2017-08-01 15:10:13,486 CassandraDaemon.java:689 - Waiting
> for gossip to settle before accepting client requests...
> DEBUG [PendingRangeCalculator:1] 2017-08-01 15:10:13,491
> PendingRangeCalculatorService.java:66 - finished calculation for 3
> keyspaces in 8ms
> INFO  [StorageServiceShutdownHook] 2017-08-01 15:10:17,848
> Gossiper.java:1500 - Announcing shutdown
>
> I have googled to death and I'm not able to find any solution nor
> explanation.
> Any help will be appreciated.
>
> Thanks in advance.
>
> Lucas
>
>
>


Re: Cassandra failed to start when trying to move to multi-node

2017-08-01 Thread Nitan Kainth
If it is blank, you can use bootstrap: true.

What is num_tokens and initial token values?

> On Aug 1, 2017, at 2:42 PM, Lucas Alvarez  wrote:
> 
> Hi, I'm trying to configure Cassandra as a cluster with two nodes. When 
> trying to simple start the first node just changing this parameters:
> 
> listen_address: 10.29.30.2
> seed_provider: 10.29.30.2
> rpc_address: 10.29.30.2
> auto_bootstrap: false
> 
> I'm getting this message and then cassandra stop loading:
> 
> INFO  [main] 2017-08-01 15:10:13,474 StorageService.java:2087 - Node 
> /10.29.32.141  state jump to NORMAL
> DEBUG [main] 2017-08-01 15:10:13,479 StorageService.java:1336 - NORMAL
> INFO  [main] 2017-08-01 15:10:13,486 CassandraDaemon.java:689 - Waiting for 
> gossip to settle before accepting client requests...
> DEBUG [PendingRangeCalculator:1] 2017-08-01 15:10:13,491 
> PendingRangeCalculatorService.java:66 - finished calculation for 3 keyspaces 
> in 8ms
> INFO  [StorageServiceShutdownHook] 2017-08-01 15:10:17,848 Gossiper.java:1500 
> - Announcing shutdown
> 
> I have googled to death and I'm not able to find any solution nor explanation.
> Any help will be appreciated.
> 
> Thanks in advance.
> 
> Lucas



Re: Cassandra failed to start when trying to move to multi-node

2017-08-01 Thread Michael Shuler
10.29.30.2 does not appear to be the IP of the node, if you got "Node
/10.29.32.141 state jump to NORMAL" as the first logged state change
from StorageService. Usually this first entry is the node's local IP
address. Later in the log, you'll see OutboundTcpConnection handshakes
and state change from the other nodes, once they start gossiping.

-- 
Michael

On 08/01/2017 02:42 PM, Lucas Alvarez wrote:
> Hi, I'm trying to configure Cassandra as a cluster with two nodes. When
> trying to simple start the first node just changing this parameters:
> 
> listen_address: 10.29.30.2
> seed_provider: 10.29.30.2
> rpc_address: 10.29.30.2
> auto_bootstrap: false
> 
> I'm getting this message and then cassandra stop loading:
> 
> INFO  [main] 2017-08-01 15:10:13,474 StorageService.java:2087 - Node
> /10.29.32.141  state jump to NORMAL
> DEBUG [main] 2017-08-01 15:10:13,479 StorageService.java:1336 - NORMAL
> INFO  [main] 2017-08-01 15:10:13,486 CassandraDaemon.java:689 - Waiting
> for gossip to settle before accepting client requests...
> DEBUG [PendingRangeCalculator:1] 2017-08-01 15:10:13,491
> PendingRangeCalculatorService.java:66 - finished calculation for 3
> keyspaces in 8ms
> INFO  [StorageServiceShutdownHook] 2017-08-01 15:10:17,848
> Gossiper.java:1500 - Announcing shutdown
> 
> I have googled to death and I'm not able to find any solution nor
> explanation.
> Any help will be appreciated.
> 
> Thanks in advance.
> 
> Lucas


-
To unsubscribe, e-mail: user-unsubscr...@cassandra.apache.org
For additional commands, e-mail: user-h...@cassandra.apache.org



Cassandra failed to start when trying to move to multi-node

2017-08-01 Thread Lucas Alvarez
Hi, I'm trying to configure Cassandra as a cluster with two nodes. When
trying to simple start the first node just changing this parameters:

listen_address: 10.29.30.2
seed_provider: 10.29.30.2
rpc_address: 10.29.30.2
auto_bootstrap: false

I'm getting this message and then cassandra stop loading:

INFO  [main] 2017-08-01 15:10:13,474 StorageService.java:2087 - Node /
10.29.32.141 state jump to NORMAL
DEBUG [main] 2017-08-01 15:10:13,479 StorageService.java:1336 - NORMAL
INFO  [main] 2017-08-01 15:10:13,486 CassandraDaemon.java:689 - Waiting for
gossip to settle before accepting client requests...
DEBUG [PendingRangeCalculator:1] 2017-08-01 15:10:13,491
PendingRangeCalculatorService.java:66 - finished calculation for 3
keyspaces in 8ms
INFO  [StorageServiceShutdownHook] 2017-08-01 15:10:17,848
Gossiper.java:1500 - Announcing shutdown

I have googled to death and I'm not able to find any solution nor
explanation.
Any help will be appreciated.

Thanks in advance.

Lucas