You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Roland Hänel <ro...@haenel.me> on 2010/04/26 12:12:43 UTC
Re: when i use the OrderPreservingPartition, the load is very
imbalance
1) you can re-balance a node with
bin/nodetool -h <host> token [<new-token>]
specify a new token manually or let the system guess one.
2) take a look into your system.log to find out why your nodes are dying.
2010/4/26 刘兵兵 <ru...@gmail.com>
> i do some INSERT ,because i will do some scan operations, i use the
> OrderPreservingPartition method.
>
> the state of the cluster is showed below.
>
> as i predicated the load is very imbalance, and some of the nodes down (in
> some nodes,the Cassandra processes died and in others the processes are
>
> alive but they still down),
>
> so i have two questions:
>
> 1)how to do balance after the insert ends?
>
> 2)why the nodes died? how to make them up again (when the situation is that
> the process is alive but the node'state is down)
>
> thx
>
> 10.37.17.241 Up 47.65 GB
> 0p6ovvUXMJ4cdd1L |<--|
> 10.37.17.234 Up 67.41 GB
> 5OxiS2DKBZLeISPg | ^
> 10.37.17.235 Up 67.54 GB
> 7UDcS0SToePuQACe v |
> 10.37.17.246 Up 555 bytes
> OCvC3nqKLeKA5n0I | ^
> 10.37.17.233 Up 830 bytes
> SJp6cQRNox52av2Y v |
> 10.37.17.249 Up 830 bytes
> SxVmCVcruOpoS48B | ^
> 10.37.17.247 Up 555 bytes
> TGctCMvfNuRo7RjS v |
> 10.37.17.245 Up 555 bytes
> j2smY0OOtQ0SeeHY | ^
> 10.37.17.250 Up 830 bytes
> jNwBPchW58i5tGxp v |
> 10.37.17.248 Up 830 bytes
> jYWaJC93OyMdWDaN | ^
> 10.37.17.237 Up 830 bytes
> mPwhLOsKlbPart6j v |
> 10.37.17.236 Up 830 bytes
> noh0t8HJgw4hmz7I | ^
> 10.37.17.244 Up 555 bytes
> q8c8SPYEkWEzmFcR v |
> 10.37.17.238 Up 555 bytes
> rIuuq3AR4DVK989X | ^
> 10.37.17.242 Up 555 bytes
> smebTmIvQBMG56Zf v |
> 10.37.17.243 Up 555 bytes
> tWTYyiqAKQVw7197 | ^
> 10.37.17.232 Up 830 bytes
> uVdBQkR9Dszm5deK v |
> 10.37.17.239 Up 555 bytes
> xXQkDQn1vvg8e1xS | ^
> 10.37.17.240 Up 555 bytes
> yQRrq9RG2dUsHUyR |-->|
>
>
> --
> Bingbing Liu
>
> Web and Mobile Data Management lab
>
> Renmin University of China
>
Re: when i use the OrderPreservingPartition, the load is very
imbalance
Posted by Roland Hänel <ro...@haenel.me>.
sorry, if specifying the token manually, use:
bin/nodetool -h <host> move <new-token>
2010/4/26 Roland Hänel <ro...@haenel.me>
> 1) you can re-balance a node with
>
> bin/nodetool -h <host> token [<new-token>]
>
> specify a new token manually or let the system guess one.
>
> 2) take a look into your system.log to find out why your nodes are dying.
>
>
> 2010/4/26 刘兵兵 <ru...@gmail.com>
>
> i do some INSERT ,because i will do some scan operations, i use the
>> OrderPreservingPartition method.
>>
>> the state of the cluster is showed below.
>>
>> as i predicated the load is very imbalance, and some of the nodes down (in
>> some nodes,the Cassandra processes died and in others the processes are
>>
>> alive but they still down),
>>
>> so i have two questions:
>>
>> 1)how to do balance after the insert ends?
>>
>> 2)why the nodes died? how to make them up again (when the situation is
>> that the process is alive but the node'state is down)
>>
>> thx
>>
>> 10.37.17.241 Up 47.65 GB
>> 0p6ovvUXMJ4cdd1L |<--|
>> 10.37.17.234 Up 67.41 GB
>> 5OxiS2DKBZLeISPg | ^
>> 10.37.17.235 Up 67.54 GB
>> 7UDcS0SToePuQACe v |
>> 10.37.17.246 Up 555 bytes
>> OCvC3nqKLeKA5n0I | ^
>> 10.37.17.233 Up 830 bytes
>> SJp6cQRNox52av2Y v |
>> 10.37.17.249 Up 830 bytes
>> SxVmCVcruOpoS48B | ^
>> 10.37.17.247 Up 555 bytes
>> TGctCMvfNuRo7RjS v |
>> 10.37.17.245 Up 555 bytes
>> j2smY0OOtQ0SeeHY | ^
>> 10.37.17.250 Up 830 bytes
>> jNwBPchW58i5tGxp v |
>> 10.37.17.248 Up 830 bytes
>> jYWaJC93OyMdWDaN | ^
>> 10.37.17.237 Up 830 bytes
>> mPwhLOsKlbPart6j v |
>> 10.37.17.236 Up 830 bytes
>> noh0t8HJgw4hmz7I | ^
>> 10.37.17.244 Up 555 bytes
>> q8c8SPYEkWEzmFcR v |
>> 10.37.17.238 Up 555 bytes
>> rIuuq3AR4DVK989X | ^
>> 10.37.17.242 Up 555 bytes
>> smebTmIvQBMG56Zf v |
>> 10.37.17.243 Up 555 bytes
>> tWTYyiqAKQVw7197 | ^
>> 10.37.17.232 Up 830 bytes
>> uVdBQkR9Dszm5deK v |
>> 10.37.17.239 Up 555 bytes
>> xXQkDQn1vvg8e1xS | ^
>> 10.37.17.240 Up 555 bytes
>> yQRrq9RG2dUsHUyR |-->|
>>
>>
>> --
>> Bingbing Liu
>>
>> Web and Mobile Data Management lab
>>
>> Renmin University of China
>>
>
>