Advertisement
Guest User

Untitled

a guest
Feb 10th, 2016
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.97 KB | None | 0 0
  1. $ bin/nodetool help
  2. usage: nodetool [(-u <username> | --username <username>)]
  3. [(-h <host> | --host <host>)]
  4. [(-pwf <passwordFilePath> | --password-file <passwordFilePath>)]
  5. [(-pw <password> | --password <password>)] [(-p <port> | --port <port>)]
  6. <command> [<args>]
  7.  
  8. The most commonly used nodetool commands are:
  9. cfhistograms Print statistic histograms for a given column family
  10. cfstats Print statistics on column families
  11. cleanup Triggers the immediate cleanup of keys no longer belonging to a node. By default, clean all keyspaces
  12. clearsnapshot Remove the snapshot with the given name from the given keyspaces. If no snapshotName is specified we will remove all snapshots
  13. compact Force a (major) compaction on one or more column families
  14. compactionhistory Print history of compaction
  15. compactionstats Print statistics on compactions
  16. decommission Decommission the *node I am connecting to*
  17. describecluster Print the name, snitch, partitioner and schema version of a cluster
  18. describering Shows the token ranges info of a given keyspace
  19. disableautocompaction Disable autocompaction for the given keyspace and column family
  20. disablebackup Disable incremental backup
  21. disablebinary Disable native transport (binary protocol)
  22. disablegossip Disable gossip (effectively marking the node down)
  23. disablehandoff Disable storing hinted handoffs
  24. disablethrift Disable thrift server
  25. drain Drain the node (stop accepting writes and flush all column families)
  26. enableautocompaction Enable autocompaction for the given keyspace and column family
  27. enablebackup Enable incremental backup
  28. enablebinary Reenable native transport (binary protocol)
  29. enablegossip Reenable gossip
  30. enablehandoff Reenable the future hints storing on the current node
  31. enablethrift Reenable thrift server
  32. flush Flush one or more column families
  33. gcstats Print GC Statistics
  34. getcompactionthreshold Print min and max compaction thresholds for a given column family
  35. getcompactionthroughput Print the MB/s throughput cap for compaction in the system
  36. getendpoints Print the end points that owns the key
  37. getinterdcstreamthroughput Print the Mb/s throughput cap for inter-datacenter streaming in the system
  38. getlogginglevels Get the runtime logging levels
  39. getsstables Print the sstable filenames that own the key
  40. getstreamthroughput Print the Mb/s throughput cap for streaming in the system
  41. gossipinfo Shows the gossip information for the cluster
  42. help Display help information
  43. info Print node information (uptime, load, ...)
  44. invalidatecountercache Invalidate the counter cache
  45. invalidatekeycache Invalidate the key cache
  46. invalidaterowcache Invalidate the row cache
  47. join Join the ring
  48. listsnapshots Lists all the snapshots along with the size on disk and true size.
  49. move Move node on the token ring to a new token
  50. netstats Print network information on provided host (connecting node by default)
  51. pausehandoff Pause hints delivery process
  52. proxyhistograms Print statistic histograms for network operations
  53. rangekeysample Shows the sampled keys held across all keyspaces
  54. rebuild Rebuild data by streaming from other nodes (similarly to bootstrap)
  55. rebuild_index A full rebuild of native secondary indexes for a given column family
  56. refresh Load newly placed SSTables to the system without restart
  57. refreshsizeestimates Refresh system.size_estimates
  58. reloadtriggers Reload trigger classes
  59. removenode Show status of current node removal, force completion of pending removal or remove provided ID
  60. repair Repair one or more column families
  61. resetlocalschema Reset node's local schema and resync
  62. resumehandoff Resume hints delivery process
  63. ring Print information about the token ring
  64. scrub Scrub (rebuild sstables for) one or more column families
  65. setcachecapacity Set global key, row, and counter cache capacities (in MB units)
  66. setcachekeystosave Set number of keys saved by each cache for faster post-restart warmup. 0 to disable
  67. setcompactionthreshold Set min and max compaction thresholds for a given column family
  68. setcompactionthroughput Set the MB/s throughput cap for compaction in the system, or 0 to disable throttling
  69. sethintedhandoffthrottlekb Set hinted handoff throttle in kb per second, per delivery thread.
  70. setinterdcstreamthroughput Set the Mb/s throughput cap for inter-datacenter streaming in the system, or 0 to disable throttling
  71. setlogginglevel Set the log level threshold for a given class. If both class and level are empty/null, it will reset to the initial configuration
  72. setstreamthroughput Set the Mb/s throughput cap for streaming in the system, or 0 to disable throttling
  73. settraceprobability Sets the probability for tracing any given request to value. 0 disables, 1 enables for all requests, 0 is the default
  74. snapshot Take a snapshot of specified keyspaces or a snapshot of the specified column family
  75. status Print cluster information (state, load, IDs, ...)
  76. statusbackup Status of incremental backup
  77. statusbinary Status of native transport (binary protocol)
  78. statusgossip Status of gossip
  79. statushandoff Status of storing future hints on the current node
  80. statusthrift Status of thrift server
  81. stop Stop compaction
  82. stopdaemon Stop cassandra daemon
  83. toppartitions Sample and print the most active partitions for a given column family
  84. tpstats Print usage statistics of thread pools
  85. truncatehints Truncate all hints on the local node, or truncate hints for the endpoint(s) specified.
  86. upgradesstables Rewrite sstables (for the requested column families) that are not on the current version (thus upgrading them to said current version)
  87. version Print cassandra version
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement