HDFS-8206. Fix the typos in hadoop-hdfs-httpfs. (Brahma Reddy Battula via xyao)

This commit is contained in:
Xiaoyu Yao 2015-04-25 22:24:38 -07:00
parent 8d256c56db
commit 7aa3399cc5
7 changed files with 14 additions and 12 deletions

View File

@ -239,7 +239,7 @@ public class HttpFSFileSystem extends FileSystem
* @return a <code>HttpURLConnection</code> for the HttpFSServer server, * @return a <code>HttpURLConnection</code> for the HttpFSServer server,
* authenticated and ready to use for the specified path and file system operation. * 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, private HttpURLConnection getConnection(final String method,
Map<String, String> params, Path path, boolean makeQualified) Map<String, String> params, Path path, boolean makeQualified)
@ -264,7 +264,7 @@ public class HttpFSFileSystem extends FileSystem
* HttpFSServer server, authenticated and ready to use for the * HttpFSServer server, authenticated and ready to use for the
* specified path and file system operation. * 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, private HttpURLConnection getConnection(final String method,
Map<String, String> params, Map<String, List<String>> multiValuedParams, Map<String, String> params, Map<String, List<String>> multiValuedParams,
@ -302,7 +302,7 @@ public class HttpFSFileSystem extends FileSystem
* @return a <code>HttpURLConnection</code> for the HttpFSServer server, authenticated and ready to use for * @return a <code>HttpURLConnection</code> for the HttpFSServer server, authenticated and ready to use for
* the specified path and file system operation. * 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 { private HttpURLConnection getConnection(URL url, String method) throws IOException {
try { try {

View File

@ -70,8 +70,8 @@ public class CheckUploadContentTypeFilter implements Filter {
* @param response servlet response. * @param response servlet response.
* @param chain filter chain. * @param chain filter chain.
* *
* @throws IOException thrown if an IO error occurrs. * @throws IOException thrown if an IO error occurs.
* @throws ServletException thrown if a servet error occurrs. * @throws ServletException thrown if a servlet error occurs.
*/ */
@Override @Override
public void doFilter(ServletRequest request, ServletResponse response, public void doFilter(ServletRequest request, ServletResponse response,

View File

@ -104,7 +104,7 @@ public class HttpFSServer {
* *
* @return FileSystemExecutor response * @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 * @throws FileSystemAccessException thrown if a FileSystemAccess releated error occurred. Thrown
* exceptions are handled by {@link HttpFSExceptionProvider}. * exceptions are handled by {@link HttpFSExceptionProvider}.
*/ */

View File

@ -64,8 +64,8 @@ public abstract class FileSystemReleaseFilter implements Filter {
* @param servletResponse servlet response. * @param servletResponse servlet response.
* @param filterChain filter chain. * @param filterChain filter chain.
* *
* @throws IOException thrown if an IO error occurrs. * @throws IOException thrown if an IO error occurs.
* @throws ServletException thrown if a servet error occurrs. * @throws ServletException thrown if a servlet error occurs.
*/ */
@Override @Override
public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain)

View File

@ -63,8 +63,8 @@ public class HostnameFilter implements Filter {
* @param response servlet response. * @param response servlet response.
* @param chain filter chain. * @param chain filter chain.
* *
* @throws IOException thrown if an IO error occurrs. * @throws IOException thrown if an IO error occurs.
* @throws ServletException thrown if a servet error occurrs. * @throws ServletException thrown if a servlet error occurs.
*/ */
@Override @Override
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)

View File

@ -66,8 +66,8 @@ public class MDCFilter implements Filter {
* @param response servlet response. * @param response servlet response.
* @param chain filter chain. * @param chain filter chain.
* *
* @throws IOException thrown if an IO error occurrs. * @throws IOException thrown if an IO error occurs.
* @throws ServletException thrown if a servet error occurrs. * @throws ServletException thrown if a servlet error occurs.
*/ */
@Override @Override
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)

View File

@ -245,6 +245,8 @@ Release 2.8.0 - UNRELEASED
HDFS-8247. TestDiskspaceQuotaUpdate#testAppendOverTypeQuota is failing. HDFS-8247. TestDiskspaceQuotaUpdate#testAppendOverTypeQuota is failing.
(Xiaoyu Yao via cnauroth) (Xiaoyu Yao via cnauroth)
HDFS-8206. Fix the typos in hadoop-hdfs-httpfs. (Brahma Reddy Battula via xyao)
Release 2.7.1 - UNRELEASED Release 2.7.1 - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES