This is an automated email from the ASF dual-hosted git repository.

stevel pushed a commit to branch branch-3.3
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/branch-3.3 by this push:
     new 919c3f615b4 HADOOP-18660. Filesystem Spelling Mistake (#5475).
919c3f615b4 is described below

commit 919c3f615b4b5e28439fd9a2203f29ff20f8c829
Author: Sebastian Baunsgaard <s...@bgaard.dk>
AuthorDate: Tue Apr 25 18:14:04 2023 +0200

    HADOOP-18660. Filesystem Spelling Mistake (#5475).
    
    Contributed by Sebastian Baunsgaard.
    
    Signed-off-by: Ayush Saxena <ayushsax...@apache.org>
---
 .../src/main/java/org/apache/hadoop/fs/FileSystem.java            | 4 ++--
 .../src/site/markdown/filesystem/pathcapabilities.md              | 4 ++--
 .../main/java/org/apache/hadoop/fs/http/server/HttpFSServer.java  | 8 ++++----
 .../org/apache/hadoop/lib/servlet/FileSystemReleaseFilter.java    | 4 ++--
 .../src/site/markdown/manifest_committer.md                       | 4 ++--
 .../java/org/apache/hadoop/mapred/uploader/FrameworkUploader.java | 4 ++--
 .../src/main/java/org/apache/hadoop/fs/s3a/S3AReadOpContext.java  | 2 +-
 .../main/java/org/apache/hadoop/fs/s3a/s3guard/S3GuardTool.java   | 2 +-
 .../src/site/markdown/tools/hadoop-aws/delegation_tokens.md       | 4 ++--
 .../src/site/markdown/tools/hadoop-aws/troubleshooting_s3a.md     | 4 ++--
 ...ationInFileystem.java => ITestRoleDelegationInFilesystem.java} | 4 ++--
 ...onInFileystem.java => ITestSessionDelegationInFilesystem.java} | 6 +++---
 12 files changed, 25 insertions(+), 25 deletions(-)

diff --git 
a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java
 
b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java
index 800e9da6cac..f140f08bb2f 100644
--- 
a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java
+++ 
b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java
@@ -3606,9 +3606,9 @@ public abstract class FileSystem extends Configured
       } catch (IOException | RuntimeException e) {
         // exception raised during initialization.
         // log summary at warn and full stack at debug
-        LOGGER.warn("Failed to initialize fileystem {}: {}",
+        LOGGER.warn("Failed to initialize filesystem {}: {}",
             uri, e.toString());
-        LOGGER.debug("Failed to initialize fileystem", e);
+        LOGGER.debug("Failed to initialize filesystem", e);
         // then (robustly) close the FS, so as to invoke any
         // cleanup code.
         IOUtils.cleanupWithLogger(LOGGER, fs);
diff --git 
a/hadoop-common-project/hadoop-common/src/site/markdown/filesystem/pathcapabilities.md
 
b/hadoop-common-project/hadoop-common/src/site/markdown/filesystem/pathcapabilities.md
index e053bfbaede..e00efed69e4 100644
--- 
a/hadoop-common-project/hadoop-common/src/site/markdown/filesystem/pathcapabilities.md
+++ 
b/hadoop-common-project/hadoop-common/src/site/markdown/filesystem/pathcapabilities.md
@@ -31,7 +31,7 @@ There are a number of goals here:
 having to invoke them.
 1. Allow filesystems with their own optional per-instance features to declare
 whether or not they are active for the specific instance.
-1. Allow for fileystem connectors which work with object stores to expose the
+1. Allow for filesystem connectors which work with object stores to expose the
 fundamental difference in semantics of these stores (e.g: files not visible
 until closed, file rename being `O(data)`), directory rename being non-atomic,
 etc.
@@ -122,7 +122,7 @@ will be permitted on that path by the caller.
 *Duration of availability*
 
 As the state of a remote store changes,so may path capabilities. This
-may be due to changes in the local state of the fileystem (e.g. symbolic links
+may be due to changes in the local state of the filesystem (e.g. symbolic links
 or mount points changing), or changes in its functionality (e.g. a feature
 becoming availaible/unavailable due to operational changes, system upgrades, 
etc.)
 
diff --git 
a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSServer.java
 
b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSServer.java
index 5965f7082fa..16a95c31d2b 100644
--- 
a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSServer.java
+++ 
b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSServer.java
@@ -149,7 +149,7 @@ public class HttpFSServer {
    * @return FileSystemExecutor response
    *
    * @throws IOException thrown if an IO error occurs.
-   * @throws FileSystemAccessException thrown if a FileSystemAccess releated 
error occurred. Thrown
+   * @throws FileSystemAccessException thrown if a FileSystemAccess related 
error occurred. Thrown
    * exceptions are handled by {@link HttpFSExceptionProvider}.
    */
   private <T> T fsExecute(UserGroupInformation ugi, 
FileSystemAccess.FileSystemExecutor<T> executor)
@@ -160,8 +160,8 @@ public class HttpFSServer {
   }
 
   /**
-   * Returns a filesystem instance. The fileystem instance is wired for 
release at the completion of
-   * the current Servlet request via the {@link FileSystemReleaseFilter}.
+   * Returns a filesystem instance. The filesystem instance is wired for 
release at the completion
+   * of the current Servlet request via the {@link FileSystemReleaseFilter}.
    * <p>
    * If a do-as user is specified, the current user must be a valid proxyuser, 
otherwise an
    * <code>AccessControlException</code> will be thrown.
@@ -172,7 +172,7 @@ public class HttpFSServer {
    *
    * @throws IOException thrown if an IO error occurred. Thrown exceptions are
    * handled by {@link HttpFSExceptionProvider}.
-   * @throws FileSystemAccessException thrown if a FileSystemAccess releated 
error occurred. Thrown
+   * @throws FileSystemAccessException thrown if a FileSystemAccess related 
error occurred. Thrown
    * exceptions are handled by {@link HttpFSExceptionProvider}.
    */
   private FileSystem createFileSystem(UserGroupInformation ugi)
diff --git 
a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/lib/servlet/FileSystemReleaseFilter.java
 
b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/lib/servlet/FileSystemReleaseFilter.java
index ec559f9125d..73a0dbe7392 100644
--- 
a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/lib/servlet/FileSystemReleaseFilter.java
+++ 
b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/lib/servlet/FileSystemReleaseFilter.java
@@ -94,14 +94,14 @@ public abstract class FileSystemReleaseFilter implements 
Filter {
    * Static method that sets the <code>FileSystem</code> to release back to
    * the {@link FileSystemAccess} service on servlet request completion.
    *
-   * @param fs fileystem instance.
+   * @param fs a filesystem instance.
    */
   public static void setFileSystem(FileSystem fs) {
     FILE_SYSTEM_TL.set(fs);
   }
 
   /**
-   * Abstract method to be implemetned by concrete implementations of the
+   * Abstract method to be implemented by concrete implementations of the
    * filter that return the {@link FileSystemAccess} service to which the 
filesystem
    * will be returned to.
    *
diff --git 
a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/site/markdown/manifest_committer.md
 
b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/site/markdown/manifest_committer.md
index 12fe1f0b5f2..c95486549db 100644
--- 
a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/site/markdown/manifest_committer.md
+++ 
b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/site/markdown/manifest_committer.md
@@ -371,11 +371,11 @@ any reports saved to a report directory.
 ## <a name="summaries"></a> Collecting Job Summaries 
`mapreduce.manifest.committer.summary.report.directory`
 
 The committer can be configured to save the `_SUCCESS` summary files to a 
report directory,
-irrespective of whether the job succeed or failed, by setting a fileystem path 
in
+irrespective of whether the job succeed or failed, by setting a filesystem 
path in
 the option `mapreduce.manifest.committer.summary.report.directory`.
 
 The path does not have to be on the same
-store/filesystem as the destination of work. For example, a local fileystem 
could be used.
+store/filesystem as the destination of work. For example, a local filesystem 
could be used.
 
 XML
 
diff --git 
a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-uploader/src/main/java/org/apache/hadoop/mapred/uploader/FrameworkUploader.java
 
b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-uploader/src/main/java/org/apache/hadoop/mapred/uploader/FrameworkUploader.java
index 0676e12706b..8509e829f48 100644
--- 
a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-uploader/src/main/java/org/apache/hadoop/mapred/uploader/FrameworkUploader.java
+++ 
b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-uploader/src/main/java/org/apache/hadoop/mapred/uploader/FrameworkUploader.java
@@ -204,7 +204,7 @@ public class FrameworkUploader implements Runnable {
       } else {
         LOG.warn("Cannot set replication to " +
             initialReplication + " for path: " + targetPath +
-            " on a non-distributed fileystem " +
+            " on a non-distributed filesystem " +
             fileSystem.getClass().getName());
       }
       if (targetStream == null) {
@@ -319,7 +319,7 @@ public class FrameworkUploader implements Runnable {
     } else {
       LOG.info("Cannot set replication to " +
           finalReplication + " for path: " + targetPath +
-          " on a non-distributed fileystem " +
+          " on a non-distributed filesystem " +
           fileSystem.getClass().getName());
     }
   }
diff --git 
a/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AReadOpContext.java
 
b/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AReadOpContext.java
index 916f0c9b445..09fdca4a346 100644
--- 
a/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AReadOpContext.java
+++ 
b/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AReadOpContext.java
@@ -78,7 +78,7 @@ public class S3AReadOpContext extends S3AOpContext {
    * Instantiate.
    * @param path path of read
    * @param invoker invoker for normal retries.
-   * @param stats Fileystem statistics (may be null)
+   * @param stats Filesystem statistics (may be null)
    * @param instrumentation statistics context
    * @param dstFileStatus target file status
    * @param vectoredIOContext context for vectored read operation.
diff --git 
a/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/s3guard/S3GuardTool.java
 
b/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/s3guard/S3GuardTool.java
index 3c16d87fe13..608f9168c24 100644
--- 
a/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/s3guard/S3GuardTool.java
+++ 
b/hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/s3guard/S3GuardTool.java
@@ -811,7 +811,7 @@ public abstract class S3GuardTool extends Configured 
implements Tool,
     try {
       uri = new URI(s3Path);
     } catch (URISyntaxException e) {
-      throw invalidArgs("Not a valid fileystem path: %s", s3Path);
+      throw invalidArgs("Not a valid filesystem path: %s", s3Path);
     }
     return uri;
   }
diff --git 
a/hadoop-tools/hadoop-aws/src/site/markdown/tools/hadoop-aws/delegation_tokens.md
 
b/hadoop-tools/hadoop-aws/src/site/markdown/tools/hadoop-aws/delegation_tokens.md
index f8f9d88d1e7..7aaa1b8b5ce 100644
--- 
a/hadoop-tools/hadoop-aws/src/site/markdown/tools/hadoop-aws/delegation_tokens.md
+++ 
b/hadoop-tools/hadoop-aws/src/site/markdown/tools/hadoop-aws/delegation_tokens.md
@@ -832,7 +832,7 @@ This tests marshalling and unmarshalling of tokens 
identifiers.
 
 Tests the lifecycle of session tokens.
 
-#### Integration Test `ITestSessionDelegationInFileystem`.
+#### Integration Test `ITestSessionDelegationInFilesystem`
 
 This collects DTs from one filesystem, and uses that to create a new FS 
instance and
 then perform filesystem operations. A miniKDC is instantiated
@@ -841,7 +841,7 @@ then perform filesystem operations. A miniKDC is 
instantiated
 the second instance is picking up the DT information.
 * `UserGroupInformation.reset()` can be used to reset user secrets after every 
test
 case (e.g. teardown), so that issued DTs from one test case do not contaminate 
the next.
-* its subclass, `ITestRoleDelegationInFileystem` adds a check that the current 
credentials
+* Its subclass, `ITestRoleDelegationInFilesystem` adds a check that the 
current credentials
 in the DT cannot be used to access data on other buckets —that is, the active
 session really is restricted to the target bucket.
 
diff --git 
a/hadoop-tools/hadoop-aws/src/site/markdown/tools/hadoop-aws/troubleshooting_s3a.md
 
b/hadoop-tools/hadoop-aws/src/site/markdown/tools/hadoop-aws/troubleshooting_s3a.md
index ef9f7f123e5..78c92c43cc7 100644
--- 
a/hadoop-tools/hadoop-aws/src/site/markdown/tools/hadoop-aws/troubleshooting_s3a.md
+++ 
b/hadoop-tools/hadoop-aws/src/site/markdown/tools/hadoop-aws/troubleshooting_s3a.md
@@ -677,7 +677,7 @@ warning that the SDK resolution chain is in use:
     S3A filesystem client is using the SDK region resolution chain.
 
 2021-06-23 19:56:56,073 [main] WARN  fs.FileSystem 
(FileSystem.java:createFileSystem(3464)) -
-    Failed to initialize fileystem s3a://osm-pds/planet:
+    Failed to initialize filesystem s3a://osm-pds/planet:
  org.apache.hadoop.fs.s3a.AWSClientIOException: creating AWS S3 client on 
s3a://osm-pds:
   com.amazonaws.SdkClientException: Unable to find a region via the region 
provider chain.
   Must provide an explicit region in the builder or setup environment to 
supply a region.:
@@ -1224,7 +1224,7 @@ KMS key ID is required for CSE-KMS to encrypt data, not 
providing one leads
  to failure.
 
 ```
-2021-07-07 11:33:04,550 WARN fs.FileSystem: Failed to initialize fileystem
+2021-07-07 11:33:04,550 WARN fs.FileSystem: Failed to initialize filesystem
 s3a://ap-south-cse/: java.lang.IllegalArgumentException: CSE-KMS
 method requires KMS key ID. Use fs.s3a.encryption.key property to set it.
 -ls: CSE-KMS method requires KMS key ID. Use fs.s3a.encryption.key property to
diff --git 
a/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/auth/delegation/ITestRoleDelegationInFileystem.java
 
b/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/auth/delegation/ITestRoleDelegationInFilesystem.java
similarity index 95%
rename from 
hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/auth/delegation/ITestRoleDelegationInFileystem.java
rename to 
hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/auth/delegation/ITestRoleDelegationInFilesystem.java
index daf037f3bb6..511b8134759 100644
--- 
a/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/auth/delegation/ITestRoleDelegationInFileystem.java
+++ 
b/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/auth/delegation/ITestRoleDelegationInFilesystem.java
@@ -32,8 +32,8 @@ import static 
org.apache.hadoop.test.LambdaTestUtils.intercept;
  * Subclass of the session test which checks roles; only works if
  * a role ARN has been declared.
  */
-public class ITestRoleDelegationInFileystem extends
-    ITestSessionDelegationInFileystem {
+public class ITestRoleDelegationInFilesystem extends
+    ITestSessionDelegationInFilesystem {
 
   @Override
   public void setup() throws Exception {
diff --git 
a/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/auth/delegation/ITestSessionDelegationInFileystem.java
 
b/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/auth/delegation/ITestSessionDelegationInFilesystem.java
similarity index 99%
rename from 
hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/auth/delegation/ITestSessionDelegationInFileystem.java
rename to 
hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/auth/delegation/ITestSessionDelegationInFilesystem.java
index 9598ef084fa..295125169a0 100644
--- 
a/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/auth/delegation/ITestSessionDelegationInFileystem.java
+++ 
b/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/auth/delegation/ITestSessionDelegationInFilesystem.java
@@ -87,10 +87,10 @@ import static 
org.hamcrest.collection.IsCollectionWithSize.hasSize;
  * UGI to be initialized with security enabled.
  */
 @SuppressWarnings("StaticNonFinalField")
-public class ITestSessionDelegationInFileystem extends AbstractDelegationIT {
+public class ITestSessionDelegationInFilesystem extends AbstractDelegationIT {
 
   private static final Logger LOG =
-      LoggerFactory.getLogger(ITestSessionDelegationInFileystem.class);
+      LoggerFactory.getLogger(ITestSessionDelegationInFilesystem.class);
 
   private static MiniKerberizedHadoopCluster cluster;
 
@@ -595,7 +595,7 @@ public class ITestSessionDelegationInFileystem extends 
AbstractDelegationIT {
         .withEndpoint(DEFAULT_ENDPOINT)
         .withMetrics(new EmptyS3AStatisticsContext()
             .newStatisticsFromAwsSdk())
-        .withUserAgentSuffix("ITestSessionDelegationInFileystem");
+        .withUserAgentSuffix("ITestSessionDelegationInFilesystem");
     AmazonS3 s3 = factory.createS3Client(landsat, parameters);
 
     return Invoker.once("HEAD", host,


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to