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

Add a CLI command to recursively list a znode and children

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.4.6
    • Fix Version/s: 3.5.3, 3.6.0
    • Component/s: java client
    • Labels:
      None
    • Hadoop Flags:
      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.patch
          15 kB
          Patrick Hunt
        2. ZOOKEEPER-1962.patch
          16 kB
          Patrick Hunt
        3. ZOOKEEPER-1962.diff
          5 kB
          Gautam Gopalakrishnan
        4. zookeeper-1962_v5.patch
          13 kB
          Enis Soztutar
        5. ZOOKEEPER-1962_v4.patch
          5 kB
          Gautam Gopalakrishnan
        6. ZOOKEEPER-1962_v3.patch
          5 kB
          Gautam Gopalakrishnan
        7. ZOOKEEPER-1962_v2.patch
          5 kB
          Hongchao Deng

          Activity

            People

            • Assignee:
              ggop Gautam Gopalakrishnan
              Reporter:
              ggop Gautam Gopalakrishnan
            • Votes:
              2 Vote for this issue
              Watchers:
              17 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