Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-17568

Implement nodetool command to list data directories of existing tables

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 4.1-alpha1, 4.1
    • Tool/nodetool
    • None

    Description

      When a table is created, dropped and re-created with the same name, directories remain within data paths. Operators may be challenged finding out which directories belong to existing tables and which may be subject to removal. However, the information is available in CQL as well as in MBeans via JMX, a convenient access to this information is still missing.

      My proposal is a new nodetool subcommand allowing to list data paths of all existing tables.

      % bin/nodetool datapaths -- example
      Keyspace : example
      	Table : test
      	Paths :
      		/var/lib/cassandra/data/example/test-02f5b8d0c0e311ecb327ff24df5ab301
      
      ----------------
      

      Attachments

        Issue Links

          Activity

            People

              rtib Tibor Repasi
              rtib Tibor Repasi
              Tibor Repasi
              Brandon Williams, Stefan Miklosovic
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10h
                  10h