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

This commit is contained in:
Xiaoyu Yao 2015-04-25 21:41:35 -07:00
parent a00e001a1a
commit 8f3946cd40
7 changed files with 14 additions and 12 deletions

View File

@ -238,7 +238,7 @@ public String getMethod() {
* @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)
@ -263,7 +263,7 @@ private HttpURLConnection getConnection(final String method,
* 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,
@ -301,7 +301,7 @@ public HttpURLConnection run() throws Exception {
* @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 void init(FilterConfig config) throws ServletException {
* @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 void init(FilterConfig filterConfig) throws ServletException {
* @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 void init(FilterConfig config) throws ServletException {
* @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 void init(FilterConfig config) throws ServletException {
* @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

@ -321,6 +321,8 @@ Trunk (Unreleased)
HDFS-7673. synthetic load generator docs give incorrect/incomplete commands HDFS-7673. synthetic load generator docs give incorrect/incomplete commands
(Brahma Reddy Battula via aw) (Brahma Reddy Battula via aw)
HDFS-8206. Fix the typos in hadoop-hdfs-httpfs. (Brahma Reddy Battula via xyao)
Release 2.8.0 - UNRELEASED Release 2.8.0 - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES