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 367308d421..5b079e9405 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 @@ /** * 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 String getMethod() { /** * 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 HttpURLConnection run() throws Exception { /** * 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. @@ -371,7 +371,7 @@ protected int getDefaultPort() { /** * HttpFSServer subclass of the FSDataInputStream. - *

+ *

* This implementation does not support the * PositionReadable and Seekable methods. */ @@ -414,8 +414,8 @@ public boolean seekToNewSource(long targetPos) throws IOException { /** * 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 @@ -434,7 +434,7 @@ public FSDataInputStream open(Path f, int bufferSize) throws IOException { /** * HttpFSServer subclass of the FSDataOutputStream. - *

+ *

* This implementation closes the underlying HTTP connection validating the Http connection status * at closing time. */ @@ -516,7 +516,7 @@ private FSDataOutputStream uploadData(String method, Path f, Map /** * 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. @@ -549,7 +549,7 @@ public FSDataOutputStream create(Path f, FsPermission permission, /** * Append to an existing file (optional operation). - *

+ *

* IMPORTANT: The Progressable parameter is not used. * * @param f the existing file to be appended. @@ -838,7 +838,7 @@ public boolean setReplication(Path src, short replication) * Modify the ACL entries for a file. * * @param path Path to modify - * @param aclSpec List describing modifications + * @param aclSpec describing modifications * @throws IOException */ @Override @@ -855,7 +855,7 @@ public void modifyAclEntries(Path path, List aclSpec) /** * 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 @@ -900,7 +900,7 @@ public void removeAcl(Path path) throws IOException { /** * 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 a696cd8c11..0a2e08dad0 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 67df9a8e64..836b4ce9ff 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 void doFilter(ServletRequest request, ServletResponse response, /** * 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 8b332fc6e9..f0fe4c5596 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 3a8d9ada4e..aed6343123 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. - *

*