Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-1962

Add a CLI command to recursively list a znode and children

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.4.6
    • 3.5.3, 3.6.0
    • java client
    • None
    • Reviewed

    Description

      When troubleshooting applications where znodes can be multiple levels deep (eg. HBase replication), it is handy to see all child znodes recursively rather than run an ls for each node manually.

      So I propose adding an option to the "ls" command (-r) which will list all child nodes under a given znode.

      Attachments

        1. ZOOKEEPER-1962.diff
          5 kB
          Gautam Gopalakrishnan
        2. ZOOKEEPER-1962_v2.patch
          5 kB
          Hongchao Deng
        3. ZOOKEEPER-1962_v3.patch
          5 kB
          Gautam Gopalakrishnan
        4. ZOOKEEPER-1962_v4.patch
          5 kB
          Gautam Gopalakrishnan
        5. zookeeper-1962_v5.patch
          13 kB
          Enis Soztutar
        6. ZOOKEEPER-1962.patch
          15 kB
          Patrick D. Hunt
        7. ZOOKEEPER-1962.patch
          16 kB
          Patrick D. Hunt

        Activity

          People

            ggop Gautam Gopalakrishnan
            ggop Gautam Gopalakrishnan
            Votes:
            2 Vote for this issue
            Watchers:
            16 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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