Repository: hadoop Updated Branches: refs/heads/trunk 9227dfc25 -> 1f2794b4f
HADOOP-12971. FileSystemShell doc should explain relative path (John Zhuge via sale) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/1f2794b4 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/1f2794b4 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/1f2794b4 Branch: refs/heads/trunk Commit: 1f2794b4faf119a1ab66c8184ac84cec710d52a0 Parents: 9227dfc Author: Sangjin Lee <sj...@apache.org> Authored: Fri May 13 10:01:46 2016 -0700 Committer: Sangjin Lee <sj...@apache.org> Committed: Fri May 13 10:01:46 2016 -0700 ---------------------------------------------------------------------- .../hadoop-common/src/site/markdown/FileSystemShell.md | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/1f2794b4/hadoop-common-project/hadoop-common/src/site/markdown/FileSystemShell.md ---------------------------------------------------------------------- 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 14bab30..5790bb7 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/<username>` 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 --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org