From 29699d8e7e630c727e0d1333339f352ffc26fa4d Mon Sep 17 00:00:00 2001 From: Sangjin Lee Date: Fri, 13 May 2016 10:01:46 -0700 Subject: [PATCH] HADOOP-12971. FileSystemShell doc should explain relative path (John Zhuge via sale) (cherry picked from commit 1f2794b4faf119a1ab66c8184ac84cec710d52a0) --- .../hadoop-common/src/site/markdown/FileSystemShell.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hadoop-common-project/hadoop-common/src/site/markdown/FileSystemShell.md b/hadoop-common-project/hadoop-common/src/site/markdown/FileSystemShell.md index af97f3b930f..4946a131f55 100644 --- a/hadoop-common-project/hadoop-common/src/site/markdown/FileSystemShell.md +++ b/hadoop-common-project/hadoop-common/src/site/markdown/FileSystemShell.md @@ -27,6 +27,11 @@ Most of the commands in FS shell behave like corresponding Unix commands. Differ If HDFS is being used, `hdfs dfs` is a synonym. +Relative paths can be used. For HDFS, the current working directory is the +HDFS home directory `/user/` that often has to be created manually. +The HDFS home directory can also be implicitly accessed, e.g., when using the +HDFS trash folder, the `.Trash` directory in the home directory. + See the [Commands Manual](./CommandsManual.html) for generic shell options. appendToFile