I'm a new bird in HDFS and * nix, and I'm just curious how to print a file tree in hadoop?
for example, we can type a "tree" on any * nix system and give us this result:
[admin~]$tree
.
├── backup_snapshot.sh
├── project
│ ├── doc
│ │ └── README
│ ├── src
....
which is very clearly displayed, but since HDFS is not fully compatible with POSIX, so I'm not sure how to print this in hadoop.
source
share