what are num_toekns in cassandra.yaml file means?...

Discussion in 'Big Data and Analytics' started by jayesh_14, Aug 27, 2016.

  1. jayesh_14

    jayesh_14 Member

    Joined:
    Mar 4, 2016
    Messages:
    4
    Likes Received:
    0
    what are num_toekns in cassandra.yaml file means?
     
    #1
  2. Karthik Shivana

    Karthik Shivana Moderator
    Simplilearn Support Alumni

    Joined:
    Apr 1, 2016
    Messages:
    688
    Likes Received:
    31
    Hi Jayesh,

    Num_tokens used in virtual nodes (vnodes). Defines the number of tokens randomly assigned to this node on the ring. The more tokens, relative to other nodes, the larger the proportion of data that the node stores. Generally all nodes should have the same number of tokens assuming they have equal hardware capability. Specifying the initial_token overrides this setting. The recommended value is 256. If left unspecified, Cassandra uses the default value of 1 token (for legacy compatibility) and uses the initial_token. If you already have a cluster with one token per node, and wish to migrate to multiple tokens per node, see Enabling virtual nodes on an existing production cluster.

    Regards
    Karthik
     
    #2

Share This Page