Browse Source

Merged r1183513 from trunk for MAPREDUCE-3192.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1183579 13f79535-47bb-0310-9956-ffa450edef68
Jitendra Nath Pandey 13 years ago
parent
commit
e8caaba2f3

+ 3 - 0
hadoop-mapreduce-project/CHANGES.txt

@@ -4,6 +4,9 @@ Hadoop MapReduce Change Log
 
 
     MAPREDUCE-2764. Fix renewal of dfs delegation tokens. (Owen via jitendra)
     MAPREDUCE-2764. Fix renewal of dfs delegation tokens. (Owen via jitendra)
 
 
+    MAPREDUCE-3192. Fix Javadoc warning in JobClient.java and Cluster.java.
+    (jitendra)
+
 Release 0.23.0 - Unreleased
 Release 0.23.0 - Unreleased
 
 
   INCOMPATIBLE CHANGES
   INCOMPATIBLE CHANGES

+ 2 - 2
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/JobClient.java

@@ -1080,7 +1080,7 @@ public class JobClient extends CLI {
    * @return true if the renewal went well
    * @return true if the renewal went well
    * @throws InvalidToken
    * @throws InvalidToken
    * @throws IOException
    * @throws IOException
-   * @deprecated Use {@link Token.renew} instead
+   * @deprecated Use {@link Token#renew} instead
    */
    */
   public long renewDelegationToken(Token<DelegationTokenIdentifier> token
   public long renewDelegationToken(Token<DelegationTokenIdentifier> token
                                    ) throws InvalidToken, IOException, 
                                    ) throws InvalidToken, IOException, 
@@ -1092,7 +1092,7 @@ public class JobClient extends CLI {
    * Cancel a delegation token from the JobTracker
    * Cancel a delegation token from the JobTracker
    * @param token the token to cancel
    * @param token the token to cancel
    * @throws IOException
    * @throws IOException
-   * @deprecated Use {@link Token.cancel} instead
+   * @deprecated Use {@link Token#cancel} instead
    */
    */
   public void cancelDelegationToken(Token<DelegationTokenIdentifier> token
   public void cancelDelegationToken(Token<DelegationTokenIdentifier> token
                                     ) throws InvalidToken, IOException, 
                                     ) throws InvalidToken, IOException, 

+ 2 - 2
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/Cluster.java

@@ -371,7 +371,7 @@ public class Cluster {
    * @return the new expiration time
    * @return the new expiration time
    * @throws InvalidToken
    * @throws InvalidToken
    * @throws IOException
    * @throws IOException
-   * @deprecated Use {@link Token.renew} instead
+   * @deprecated Use {@link Token#renew} instead
    */
    */
   public long renewDelegationToken(Token<DelegationTokenIdentifier> token
   public long renewDelegationToken(Token<DelegationTokenIdentifier> token
                                    ) throws InvalidToken, IOException,
                                    ) throws InvalidToken, IOException,
@@ -388,7 +388,7 @@ public class Cluster {
    * Cancel a delegation token from the JobTracker
    * Cancel a delegation token from the JobTracker
    * @param token the token to cancel
    * @param token the token to cancel
    * @throws IOException
    * @throws IOException
-   * @deprecated Use {@link Token.cancel} instead
+   * @deprecated Use {@link Token#cancel} instead
    */
    */
   public void cancelDelegationToken(Token<DelegationTokenIdentifier> token
   public void cancelDelegationToken(Token<DelegationTokenIdentifier> token
                                     ) throws IOException,
                                     ) throws IOException,