You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-commits@hadoop.apache.org by tu...@apache.org on 2011/12/19 16:56:57 UTC
svn commit: r1220814 - in
/hadoop/common/branches/branch-0.23/hadoop-hdfs-project: dev-support/
hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/
hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/lib/lang/
hadoop-hdfs-httpfs/src/main/...
Author: tucu
Date: Mon Dec 19 15:56:57 2011
New Revision: 1220814
URL: http://svn.apache.org/viewvc?rev=1220814&view=rev
Log:
Merge -r 1220809:1220810 from trunk to branch. FIXES: HDFS-2658
Modified:
hadoop/common/branches/branch-0.23/hadoop-hdfs-project/dev-support/test-patch.properties
hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSParams.java
hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSServer.java
hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/lib/lang/RunnableCallable.java
hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/lib/server/Server.java
hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
Modified: hadoop/common/branches/branch-0.23/hadoop-hdfs-project/dev-support/test-patch.properties
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/dev-support/test-patch.properties?rev=1220814&r1=1220813&r2=1220814&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.23/hadoop-hdfs-project/dev-support/test-patch.properties (original)
+++ hadoop/common/branches/branch-0.23/hadoop-hdfs-project/dev-support/test-patch.properties Mon Dec 19 15:56:57 2011
@@ -18,4 +18,4 @@
OK_RELEASEAUDIT_WARNINGS=0
OK_FINDBUGS_WARNINGS=0
-OK_JAVADOC_WARNINGS=0
+OK_JAVADOC_WARNINGS=2
Modified: hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSParams.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSParams.java?rev=1220814&r1=1220813&r2=1220814&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSParams.java (original)
+++ hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSParams.java Mon Dec 19 15:56:57 2011
@@ -228,8 +228,6 @@ public class HttpFSParams {
* <p/>
* This is required because JAX-RS resolution of paths does not add
* the root '/'.
- *
- * @returns absolute path.
*/
public void makeAbsolute() {
String path = value();
Modified: hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSServer.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSServer.java?rev=1220814&r1=1220813&r2=1220814&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSServer.java (original)
+++ hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSServer.java Mon Dec 19 15:56:57 2011
@@ -92,9 +92,9 @@ public class HttpFSServer {
* Special binding for '/' as it is not handled by the wildcard binding.
*
* @param user principal making the request.
- * @param op GET operation, default value is {@link HttpFSFileSystem.GetOpValues#OPEN}.
+ * @param op GET operation, default value is @link org.apache.hadoop.fs.http.client.HttpFSFileSystem.GetOpValues#OPEN}.
* @param filter Glob filter, default value is none. Used only if the
- * operation is {@link HttpFSFileSystem.GetOpValues#LISTSTATUS}
+ * operation is @link org.apache.hadoop.fs.http.client.HttpFSFileSystem.GetOpValues#LISTSTATUS}
* @param doAs user being impersonated, defualt value is none. It can be used
* only if the current user is a HttpFSServer proxyuser.
*
@@ -202,31 +202,31 @@ public class HttpFSServer {
/**
* Binding to handle all GET requests, supported operations are
- * {@link HttpFSFileSystem.GetOpValues}.
+ * @link org.apache.hadoop.fs.http.client.HttpFSFileSystem.GetOpValues}.
* <p/>
- * The {@link HttpFSFileSystem.GetOpValues#INSTRUMENTATION} operation is available only
+ * The @link org.apache.hadoop.fs.http.client.HttpFSFileSystem.GetOpValues#INSTRUMENTATION} operation is available only
* to users that are in HttpFSServer's admin group (see {@link HttpFSServer}. It returns
* HttpFSServer instrumentation data. The specified path must be '/'.
*
* @param user principal making the request.
* @param path path for the GET request.
- * @param op GET operation, default value is {@link HttpFSFileSystem.GetOpValues#OPEN}.
+ * @param op GET operation, default value is @link org.apache.hadoop.fs.http.client.HttpFSFileSystem.GetOpValues#OPEN}.
* @param offset of the file being fetch, used only with
- * {@link HttpFSFileSystem.GetOpValues#OPEN} operations.
- * @param len amounts of bytes, used only with {@link HttpFSFileSystem.GetOpValues#OPEN}
+ * @link org.apache.hadoop.fs.http.client.HttpFSFileSystem.GetOpValues#OPEN} operations.
+ * @param len amounts of bytes, used only with @link org.apache.hadoop.fs.http.client.HttpFSFileSystem.GetOpValues#OPEN}
* operations.
* @param filter Glob filter, default value is none. Used only if the
- * operation is {@link HttpFSFileSystem.GetOpValues#LISTSTATUS}
+ * operation is @link org.apache.hadoop.fs.http.client.HttpFSFileSystem.GetOpValues#LISTSTATUS}
* @param doAs user being impersonated, defualt value is none. It can be used
* only if the current user is a HttpFSServer proxyuser.
* @param override, default is true. Used only for
- * {@link HttpFSFileSystem.PutOpValues#CREATE} operations.
+ * @link org.apache.hadoop.fs.http.client.HttpFSFileSystem.PutOpValues#CREATE} operations.
* @param blockSize block size to set, used only by
- * {@link HttpFSFileSystem.PutOpValues#CREATE} operations.
+ * @link org.apache.hadoop.fs.http.client.HttpFSFileSystem.PutOpValues#CREATE} operations.
* @param permission permission to set, used only by
- * {@link HttpFSFileSystem.PutOpValues#SETPERMISSION}.
+ * @link org.apache.hadoop.fs.http.client.HttpFSFileSystem.PutOpValues#SETPERMISSION}.
* @param replication replication factor to set, used only by
- * {@link HttpFSFileSystem.PutOpValues#SETREPLICATION}.
+ * @link org.apache.hadoop.fs.http.client.HttpFSFileSystem.PutOpValues#SETREPLICATION}.
*
* @return the request response.
*
@@ -361,7 +361,7 @@ public class HttpFSServer {
*
* @param user principal making the request.
* @param path path for the DELETE request.
- * @param op DELETE operation, default value is {@link HttpFSFileSystem.DeleteOpValues#DELETE}.
+ * @param op DELETE operation, default value is @link org.apache.hadoop.fs.http.client.HttpFSFileSystem.DeleteOpValues#DELETE}.
* @param recursive indicates if the delete is recursive, default is <code>false</code>
* @param doAs user being impersonated, defualt value is none. It can be used
* only if the current user is a HttpFSServer proxyuser.
@@ -404,33 +404,33 @@ public class HttpFSServer {
/**
* Binding to handle all PUT requests, supported operations are
- * {@link HttpFSFileSystem.PutOpValues}.
+ * @link org.apache.hadoop.fs.http.client.HttpFSFileSystem.PutOpValues}.
*
* @param is request input stream, used only for
- * {@link HttpFSFileSystem.PostOpValues#APPEND} operations.
+ * @link org.apache.hadoop.fs.http.client.HttpFSFileSystem.PostOpValues#APPEND} operations.
* @param user principal making the request.
* @param uriInfo the request uriInfo.
* @param path path for the PUT request.
* @param op PUT operation, no default value.
* @param toPath new path, used only for
- * {@link HttpFSFileSystem.PutOpValues#RENAME} operations.
- * {@link HttpFSFileSystem.PutOpValues#SETTIMES}.
+ * {@link org.apache.hadoop.fs.http.client.HttpFSFileSystem.PutOpValues#RENAME} operations.
+ * @link org.apache.hadoop.fs.http.client.HttpFSFileSystem.PutOpValues#SETTIMES}.
* @param owner owner to set, used only for
- * {@link HttpFSFileSystem.PutOpValues#SETOWNER} operations.
+ * @link org.apache.hadoop.fs.http.client.HttpFSFileSystem.PutOpValues#SETOWNER} operations.
* @param group group to set, used only for
- * {@link HttpFSFileSystem.PutOpValues#SETOWNER} operations.
+ * @link org.apache.hadoop.fs.http.client.HttpFSFileSystem.PutOpValues#SETOWNER} operations.
* @param override, default is true. Used only for
- * {@link HttpFSFileSystem.PutOpValues#CREATE} operations.
+ * @link org.apache.hadoop.fs.http.client.HttpFSFileSystem.PutOpValues#CREATE} operations.
* @param blockSize block size to set, used only by
- * {@link HttpFSFileSystem.PutOpValues#CREATE} operations.
+ * @link org.apache.hadoop.fs.http.client.HttpFSFileSystem.PutOpValues#CREATE} operations.
* @param permission permission to set, used only by
- * {@link HttpFSFileSystem.PutOpValues#SETPERMISSION}.
+ * @link org.apache.hadoop.fs.http.client.HttpFSFileSystem.PutOpValues#SETPERMISSION}.
* @param replication replication factor to set, used only by
- * {@link HttpFSFileSystem.PutOpValues#SETREPLICATION}.
+ * @link org.apache.hadoop.fs.http.client.HttpFSFileSystem.PutOpValues#SETREPLICATION}.
* @param modifiedTime modified time, in seconds since EPOC, used only by
- * {@link HttpFSFileSystem.PutOpValues#SETTIMES}.
+ * @link org.apache.hadoop.fs.http.client.HttpFSFileSystem.PutOpValues#SETTIMES}.
* @param accessTime accessed time, in seconds since EPOC, used only by
- * {@link HttpFSFileSystem.PutOpValues#SETTIMES}.
+ * @link org.apache.hadoop.fs.http.client.HttpFSFileSystem.PutOpValues#SETTIMES}.
* @param hasData indicates if the append request is uploading data or not
* (just getting the handle).
* @param doAs user being impersonated, defualt value is none. It can be used
@@ -547,14 +547,14 @@ public class HttpFSServer {
/**
* Binding to handle all OPST requests, supported operations are
- * {@link HttpFSFileSystem.PostOpValues}.
+ * @link org.apache.hadoop.fs.http.client.HttpFSFileSystem.PostOpValues}.
*
* @param is request input stream, used only for
- * {@link HttpFSFileSystem.PostOpValues#APPEND} operations.
+ * @link org.apache.hadoop.fs.http.client.HttpFSFileSystem.PostOpValues#APPEND} operations.
* @param user principal making the request.
* @param uriInfo the request uriInfo.
* @param path path for the POST request.
- * @param op POST operation, default is {@link HttpFSFileSystem.PostOpValues#APPEND}.
+ * @param op POST operation, default is @link org.apache.hadoop.fs.http.client.HttpFSFileSystem.PostOpValues#APPEND}.
* @param hasData indicates if the append request is uploading data or not (just getting the handle).
* @param doAs user being impersonated, defualt value is none. It can be used
* only if the current user is a HttpFSServer proxyuser.
Modified: hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/lib/lang/RunnableCallable.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/lib/lang/RunnableCallable.java?rev=1220814&r1=1220813&r2=1220814&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/lib/lang/RunnableCallable.java (original)
+++ hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/lib/lang/RunnableCallable.java Mon Dec 19 15:56:57 2011
@@ -68,9 +68,7 @@ public class RunnableCallable implements
/**
* Invokes the wrapped callable/runnable as a runnable.
*
- * @return void
- *
- * @throws Exception thrown by the wrapped callable/runnable invocation.
+ * @throws RuntimeException thrown by the wrapped callable/runnable invocation.
*/
@Override
public void run() {
Modified: hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/lib/server/Server.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/lib/server/Server.java?rev=1220814&r1=1220813&r2=1220814&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/lib/server/Server.java (original)
+++ hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/lib/server/Server.java Mon Dec 19 15:56:57 2011
@@ -251,7 +251,7 @@ public class Server {
* The status must be settable.
* <p/>
* All services will be notified o the status change via the
- * {@link Service#serverStatusChange(Status, Status)} method. If a service
+ * {@link Service#serverStatusChange(Server.Status, Server.Status)} method. If a service
* throws an exception during the notification, the server will be destroyed.
*
* @param status status to set.
@@ -703,7 +703,7 @@ public class Server {
/**
* Returns the server configuration.
*
- * @return
+ * @return the server configuration.
*/
public Configuration getConfig() {
return config;
Modified: hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt?rev=1220814&r1=1220813&r2=1220814&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt (original)
+++ hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt Mon Dec 19 15:56:57 2011
@@ -110,6 +110,8 @@ Release 0.23.1 - UNRELEASED
HDFS-2553. Fix BlockPoolSliceScanner spinning in a tight loop (Uma
Maheswara Rao G via todd)
+ HDFS-2658. HttpFS introduced 70 javadoc warnings. (tucu)
+
Release 0.23.0 - 2011-11-01
INCOMPATIBLE CHANGES