Database Reference
In-Depth Information
Figure 4.4 HDFS shell
The FS shell is actually part of Hadoop and uses commands that primarily
align with UNIX commands. The FS shell commands all take the following
format:
hadoop fs -<CMD> <ARGS>
The CMD is a specific file system command, and ARGS are the arguments
needed to execute the command. The FS shell commands all use uniform
resource indicators (URIs) in the format of [schema]://[authority]/
[path] .ForHDFS, thesepaths looklike this: hdfs://node/mydata .The
hdfs:// prefix is optional and is often left off for simplicity.
Table 4.1 lists some of the most common commands and shows usage
examples.
 
Search WWH ::




Custom Search