From 091bd8b52168e6224a8c354660f46601dcb3bafc Mon Sep 17 00:00:00 2001 From: Username46786 <98800422+Username46786@users.noreply.github.com> Date: Mon, 15 Sep 2025 20:53:28 -0700 Subject: [PATCH] [DOCS] Add cross-link from FileSystemShell.md to FileSystem API --- .../hadoop-common/src/site/markdown/FileSystemShell.md | 4 ++++ 1 file changed, 4 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 34d5d5371bcb0..cb85af4465d18 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,10 @@ Most of the commands in FS shell behave like corresponding Unix commands. Differ If HDFS is being used, `hdfs dfs` is a synonym. +See also: [FileSystem API](../api/org/apache/hadoop/fs/FileSystem.html) for programmatic access +to the same operations. + + 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