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 cc2912cac91..df2b279c733 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 @@ -239,7 +239,7 @@ public String getMethod() { * @return a HttpURLConnection for the HttpFSServer server, * authenticated and ready to use for the specified path and file system operation. * - * @throws IOException thrown if an IO error occurrs. + * @throws IOException thrown if an IO error occurs. */ private HttpURLConnection getConnection(final String method, Map params, Path path, boolean makeQualified) @@ -264,7 +264,7 @@ private HttpURLConnection getConnection(final String method, * HttpFSServer server, authenticated and ready to use for the * specified path and file system operation. * - * @throws IOException thrown if an IO error occurrs. + * @throws IOException thrown if an IO error occurs. */ private HttpURLConnection getConnection(final String method, Map params, Map> multiValuedParams, @@ -302,7 +302,7 @@ public HttpURLConnection run() throws Exception { * @return a HttpURLConnection for the HttpFSServer server, authenticated and ready to use for * the specified path and file system operation. * - * @throws IOException thrown if an IO error occurrs. + * @throws IOException thrown if an IO error occurs. */ private HttpURLConnection getConnection(URL url, String method) throws IOException { try { 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 81b0b7a2b78..e96bfa1378b 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 @@ -70,8 +70,8 @@ public void init(FilterConfig config) throws ServletException { * @param response servlet response. * @param chain filter chain. * - * @throws IOException thrown if an IO error occurrs. - * @throws ServletException thrown if a servet error occurrs. + * @throws IOException thrown if an IO error occurs. + * @throws ServletException thrown if a servlet error occurs. */ @Override public void doFilter(ServletRequest request, ServletResponse response, 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 1f903ba1546..b7b63fabdc4 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 @@ -104,7 +104,7 @@ public class HttpFSServer { * * @return FileSystemExecutor response * - * @throws IOException thrown if an IO error occurrs. + * @throws IOException thrown if an IO error occurs. * @throws FileSystemAccessException thrown if a FileSystemAccess releated error occurred. Thrown * exceptions are handled by {@link HttpFSExceptionProvider}. */ 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 cf73979f647..ec559f9125d 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 @@ -64,8 +64,8 @@ public void init(FilterConfig filterConfig) throws ServletException { * @param servletResponse servlet response. * @param filterChain filter chain. * - * @throws IOException thrown if an IO error occurrs. - * @throws ServletException thrown if a servet error occurrs. + * @throws IOException thrown if an IO error occurs. + * @throws ServletException thrown if a servlet error occurs. */ @Override public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) diff --git a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/lib/servlet/HostnameFilter.java b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/lib/servlet/HostnameFilter.java index 64f4926f5af..ed116e6bb07 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/lib/servlet/HostnameFilter.java +++ b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/lib/servlet/HostnameFilter.java @@ -63,8 +63,8 @@ public void init(FilterConfig config) throws ServletException { * @param response servlet response. * @param chain filter chain. * - * @throws IOException thrown if an IO error occurrs. - * @throws ServletException thrown if a servet error occurrs. + * @throws IOException thrown if an IO error occurs. + * @throws ServletException thrown if a servlet error occurs. */ @Override public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) diff --git a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/lib/servlet/MDCFilter.java b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/lib/servlet/MDCFilter.java index 156cf64ab00..0f34652d18c 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/lib/servlet/MDCFilter.java +++ b/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/lib/servlet/MDCFilter.java @@ -66,8 +66,8 @@ public void init(FilterConfig config) throws ServletException { * @param response servlet response. * @param chain filter chain. * - * @throws IOException thrown if an IO error occurrs. - * @throws ServletException thrown if a servet error occurrs. + * @throws IOException thrown if an IO error occurs. + * @throws ServletException thrown if a servlet error occurs. */ @Override public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index d0e4ab90ed2..baa8d3ca387 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -245,6 +245,8 @@ Release 2.8.0 - UNRELEASED HDFS-8247. TestDiskspaceQuotaUpdate#testAppendOverTypeQuota is failing. (Xiaoyu Yao via cnauroth) + HDFS-8206. Fix the typos in hadoop-hdfs-httpfs. (Brahma Reddy Battula via xyao) + Release 2.7.1 - UNRELEASED INCOMPATIBLE CHANGES