diff --git a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/client/HttpFSFileSystem.java b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/client/HttpFSFileSystem.java index a940ec398b1..74e5be81e2b 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/client/HttpFSFileSystem.java +++ b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/client/HttpFSFileSystem.java @@ -78,7 +78,7 @@ import java.util.Map; /** * HttpFSServer implementation of the FileSystemAccess FileSystem. - *

+ *

* This implementation allows a user to access HDFS over HTTP via a HttpFSServer server. */ @InterfaceAudience.Private @@ -223,7 +223,7 @@ public class HttpFSFileSystem extends FileSystem /** * Convenience method that creates a HttpURLConnection for the * HttpFSServer file system operations. - *

+ *

* This methods performs and injects any needed authentication credentials * via the {@link #getConnection(URL, String)} method * @@ -289,7 +289,7 @@ public class HttpFSFileSystem extends FileSystem /** * Convenience method that creates a HttpURLConnection for the specified URL. - *

+ *

* This methods performs and injects any needed authentication credentials. * * @param url url to connect to. @@ -372,7 +372,7 @@ public class HttpFSFileSystem extends FileSystem /** * HttpFSServer subclass of the FSDataInputStream. - *

+ *

* This implementation does not support the * PositionReadable and Seekable methods. */ @@ -415,8 +415,8 @@ public class HttpFSFileSystem extends FileSystem /** * Opens an FSDataInputStream at the indicated Path. - *

- * IMPORTANT: the returned does not support the + *

+ * IMPORTANT: the returned FSDataInputStream does not support the * PositionReadable and Seekable methods. * * @param f the file name to open @@ -435,7 +435,7 @@ public class HttpFSFileSystem extends FileSystem /** * HttpFSServer subclass of the FSDataOutputStream. - *

+ *

* This implementation closes the underlying HTTP connection validating the Http connection status * at closing time. */ @@ -517,7 +517,7 @@ public class HttpFSFileSystem extends FileSystem /** * Opens an FSDataOutputStream at the indicated Path with write-progress * reporting. - *

+ *

* IMPORTANT: The Progressable parameter is not used. * * @param f the file name to open. @@ -550,7 +550,7 @@ public class HttpFSFileSystem extends FileSystem /** * Append to an existing file (optional operation). - *

+ *

* IMPORTANT: The Progressable parameter is not used. * * @param f the existing file to be appended. @@ -839,7 +839,7 @@ public class HttpFSFileSystem extends FileSystem * Modify the ACL entries for a file. * * @param path Path to modify - * @param aclSpec List describing modifications + * @param aclSpec describing modifications * @throws IOException */ @Override @@ -856,7 +856,7 @@ public class HttpFSFileSystem extends FileSystem /** * Remove the specified ACL entries from a file * @param path Path to modify - * @param aclSpec List describing entries to remove + * @param aclSpec describing entries to remove * @throws IOException */ @Override @@ -901,7 +901,7 @@ public class HttpFSFileSystem extends FileSystem /** * Set the ACLs for the given file * @param path Path to modify - * @param aclSpec List describing modifications, must include + * @param aclSpec describing modifications, must include * entries for user, group, and others for compatibility * with permission bits. * @throws IOException diff --git a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/client/HttpsFSFileSystem.java b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/client/HttpsFSFileSystem.java index a696cd8c119..0a2e08dad04 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/client/HttpsFSFileSystem.java +++ b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/client/HttpsFSFileSystem.java @@ -18,10 +18,10 @@ package org.apache.hadoop.fs.http.client; /** - * HttpFSServer implementation of the FileSystemAccess FileSystem for SSL. - *

- * This implementation allows a user to access HDFS over HTTPS via a - * HttpFSServer server. + *

HttpFSServer implementation of the FileSystemAccess FileSystem for SSL. + *

+ *

This implementation allows a user to access HDFS over HTTPS via a + * HttpFSServer server.

*/ public class HttpsFSFileSystem extends HttpFSFileSystem { diff --git a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/CheckUploadContentTypeFilter.java b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/CheckUploadContentTypeFilter.java index 67df9a8e642..836b4ce9ffd 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/CheckUploadContentTypeFilter.java +++ b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/CheckUploadContentTypeFilter.java @@ -50,7 +50,7 @@ public class CheckUploadContentTypeFilter implements Filter { /** * Initializes the filter. - *

+ *

* This implementation is a NOP. * * @param config filter configuration. @@ -103,7 +103,7 @@ public class CheckUploadContentTypeFilter implements Filter { /** * Destroys the filter. - *

+ *

* This implementation is a NOP. */ @Override diff --git a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSAuthenticationFilter.java b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSAuthenticationFilter.java index 8b332fc6e9a..f0fe4c55961 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSAuthenticationFilter.java +++ b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSAuthenticationFilter.java @@ -44,7 +44,7 @@ public class HttpFSAuthenticationFilter /** * Returns the hadoop-auth configuration from HttpFSServer's configuration. - *

+ *

* It returns all HttpFSServer's configuration properties prefixed with * httpfs.authentication. The httpfs.authentication * prefix is removed from the returned property names. diff --git a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSExceptionProvider.java b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSExceptionProvider.java index 3a8d9ada4e6..aed63431234 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSExceptionProvider.java +++ b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSExceptionProvider.java @@ -43,7 +43,6 @@ public class HttpFSExceptionProvider extends ExceptionProvider { /** * Maps different exceptions thrown by HttpFSServer to HTTP status codes. - *

*