Database Reference
In-Depth Information
Exploring HDFS commands
To perform filesystem related tasks, the commands begin with
hdfs dfs
. The filesystem
commands have been designed to behave similarly to the corresponding Unix/Linux
filesystem commands.
What is a URI?
URI
stands for
Uniform Resource Identifier
. In the commands that are
listed as follows, you will observe the use of URI for file locations. The URI syntax to ac-
cess a file in HDFS is
hdfs://namenodehost/parent/child/<file>
.