Hi Paulo,
        Yes, that is expected. Now that you are using virtual nodes you should 
use "nodetool status" to see an output similar to what you saw with "nodetool 
ring" before you enabled virtual nodes.

                                -Ike Walker

On Oct 15, 2013, at 11:45 AM, Paulo Motta <pauloricard...@gmail.com> wrote:

> Hello,
> 
> I recently did the "Enabling virtual nodes on an existing production cluster" 
> procedure 
> (http://www.datastax.com/documentation/cassandra/1.2/webhelp/cassandra/configuration/configVnodesProduction_t.html),
>  and noticed that the output of the command "nodetool ring" changes 
> significantly when virtual nodes are enabled in a new data center.
> 
> Before, it showed only 1 token per node, now it shows 256 tokens per node 
> (output below). So, that means 256*N entries, which makes the command 
> unreadable, while before it was pretty useful to check the cluster status in 
> a human-readable format. Moreover, the command is taking much longer to 
> execute.
> 
> Is this expected behavior, or did I make any mistake during the procedure?
> 
> Cassandra version: 1.2.10
> 
> Before it was like this:
> 
> Datacenter: VNodesDisabled
> ==========
> Replicas: 3
> 
> Address          Rack        Status State   Load            Owns              
>   Token                                       
>                                                                               
>   28356863910078205239614050619314017619      
> AAA.BBB.CCC.1   x         Up     Normal  236.49 GB       20.83%              
> 113427455640312821154458002477256070480     
> AAA.BBB.CCC.2   x         Up     Normal  347.6 GB        29.17%              
> 77981375752715064543690004203113548455      
> AAA.BBB.CCC.3   x         Up     Normal  332.46 GB       37.50%              
> 106338614526609105785626408013334622686     
> AAA.BBB.CCC.4   x         Up     Normal  198.94 GB       20.83%              
> 141784319550391026443072753090570088104     
> AAA.BBB.CCC.5   x         Up     Normal  330.68 GB       33.33%              
> 92159807707754167187997289512070557265      
> AAA.BBB.CCC.6   x         Up     Normal  268.64 GB       25.00%              
> 155962751505430129087380028400227096915     
> AAA.BBB.CCC.7   x         Up     Normal  262.43 GB       25.00%              
> 163051967482949680409533666060055601314     
> AAA.BBB.CCC.8   x         Up     Normal  200.18 GB       16.67%              
> 1                                           
> AAA.BBB.CCC.9   x         Up     Normal  189.13 GB       16.67%              
> 120516671617832372476611040132084574885     
> AAA.BBB.CCC.10  x         Up     Normal  220.7 GB        25.00%              
> 42535295865117307932921025928971026429      
> AAA.BBB.CCC.11  x         Up     Normal  259.36 GB       25.00%              
> 35446079887597756610768088274142522024      
> AAA.BBB.CCC.12  x         Up     Normal  270.32 GB       25.00%              
> 28356863910078205088614550619314017619  
> 
> 
> Now it is like this:
> Datacenter: VNodesEnabled
> ==========
> Replicas: 3
> 
> Address          Rack        Status State   Load            Owns              
>   Token                                       
>                                                                               
>   168998414504718061309167200639854699955     
> XXX.YYY.ZZZ.1    y          Up     Normal  122.84 KB       0.00%              
>  4176479009577065052560790400565254          
> XXX.YYY.ZZZ.1    y          Up     Normal  122.84 KB       0.00%              
>  291517050854558940844583227825291566        
> XXX.YYY.ZZZ.1    y          Up     Normal  122.84 KB       0.00%              
>  389126351568277133928956802249918052        
> XXX.YYY.ZZZ.1    y          Up     Normal  122.84 KB       0.00%              
>  504218791605899949008255495493335240        
> XXX.YYY.ZZZ.2    y          Up     Normal  122.84 KB       0.00%              
>  4176479009577065052560790400565254          
> XXX.YYY.ZZZ.2    y          Up     Normal  122.84 KB       0.00%              
>  291517050854558940844583227825291566        
> XXX.YYY.ZZZ.2    y          Up     Normal  122.84 KB       0.00%              
>  389126351568277133928956802249918052        
> XXX.YYY.ZZZ.2    y          Up     Normal  122.84 KB       0.00%              
>  504218791605899949008255495493335240   
> XXX.YYY.ZZZ.3    y          Up     Normal  122.84 KB       0.00%              
>  4176479009577065052560790400565254          
> XXX.YYY.ZZZ.3    y          Up     Normal  122.84 KB       0.00%              
>  291517050854558940844583227825291566        
> XXX.YYY.ZZZ.3    y          Up     Normal  122.84 KB       0.00%              
>  389126351568277133928956802249918052        
> XXX.YYY.ZZZ.3    y          Up     Normal  122.84 KB       0.00%              
>  504218791605899949008255495493335240   
> XXX.YYY.ZZZ.4    y          Up     Normal  122.84 KB       0.00%              
>  4176479009577065052560790400565254          
> XXX.YYY.ZZZ.4    y          Up     Normal  122.84 KB       0.00%              
>  291517050854558940844583227825291566        
> XXX.YYY.ZZZ.4    y          Up     Normal  122.84 KB       0.00%              
>  389126351568277133928956802249918052        
> XXX.YYY.ZZZ.4    y          Up     Normal  122.84 KB       0.00%              
>  504218791605899949008255495493335240   
> XXX.YYY.ZZZ.5    y          Up     Normal  122.84 KB       0.00%              
>  4176479009577065052560790400565254          
> XXX.YYY.ZZZ.5    y          Up     Normal  122.84 KB       0.00%              
>  291517050854558940844583227825291566        
> XXX.YYY.ZZZ.5    y          Up     Normal  122.84 KB       0.00%              
>  389126351568277133928956802249918052        
> XXX.YYY.ZZZ.5    y          Up     Normal  122.84 KB       0.00%              
>  504218791605899949008255495493335240   
> XXX.YYY.ZZZ.6    y          Up     Normal  122.84 KB       0.00%              
>  4176479009577065052560790400565254          
> XXX.YYY.ZZZ.6    y          Up     Normal  122.84 KB       0.00%              
>  291517050854558940844583227825291566        
> XXX.YYY.ZZZ.6    y          Up     Normal  122.84 KB       0.00%              
>  389126351568277133928956802249918052        
> XXX.YYY.ZZZ.6    y          Up     Normal  122.84 KB       0.00%              
>  504218791605899949008255495493335240   
> ....

Reply via email to