Code shell

HDFS - List Folder Recursively

Kontext Kontext visibility 103 comment 0 access_time 2 years ago language English

descriptionCode description

This code snippet provides one example to list all the folders and files recursively under one HDFS path. The key is to use -R option of the ls sub command.

Sample output:


copyright This page is subject to Site terms.
comment Comments
No comments yet.

Please log in or register to comment.

account_circle Log in person_add Register

Log in with external accounts