HDFS - Directory

Yarn Hortonworks

About

File System - Directory in HDFS.

Management

With the doc

list

hadoop fs -ls /
# For a recursive 
# hadoop fs -lsr /
Found 15 items
drwxr-xr-x   - root   supergroup          0 2018-01-25 13:59 /HdiSamples
drwxr-xr-x   - hdfs   supergroup          0 2018-01-25 13:46 /ams
drwxr-xr-x   - hdfs   supergroup          0 2018-01-25 13:46 /amshbase
drwxrwxrwx   - yarn   hadoop              0 2018-01-25 13:46 /app-logs
drwxr-xr-x   - hdfs   supergroup          0 2018-01-25 13:46 /apps
drwxr-xr-x   - yarn   hadoop              0 2018-01-25 13:46 /atshistory
drwxr-xr-x   - root   supergroup          0 2018-01-25 13:59 /custom-scriptaction-logs
drwxr-xr-x   - root   supergroup          0 2018-01-25 13:59 /example
drwxr-xr-x   - hbase  supergroup          0 2018-01-25 13:46 /hbase
drwxr-xr-x   - hdfs   supergroup          0 2018-01-25 13:46 /hdp
drwxr-xr-x   - hdfs   supergroup          0 2018-01-25 13:46 /hive
drwxr-xr-x   - mapred supergroup          0 2018-01-25 13:46 /mapred
drwxrwxrwx   - mapred hadoop              0 2018-01-25 13:46 /mr-history
drwxrwxrwx   - hdfs   supergroup          0 2018-01-25 13:46 /tmp
drwxr-xr-x   - hdfs   supergroup          0 2018-01-25 13:46 /user

create

hadoop fs -mkdir /myNewDir





Discover More
Yarn Hortonworks
Hadoop Distributed File System (HDFS)

Hadoop Distributed File System (HDFS) Hadoop Distributed File System (HDFS) is a clustered file system. See for an architectural overview. * * * * * * * Amazon...



Share this page:
Follow us:
Task Runner