浏览代码

YARN-4294. [JDK8] Fix javadoc errors caused by wrong reference and illegal tag. (aajisaka)

(cherry picked from commit 7781fe1b9e89488b37217f81c246c1398407e47a)
Akira Ajisaka 9 年之前
父节点
当前提交
356e922632

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

@@ -931,6 +931,9 @@ Release 2.8.0 - UNRELEASED
 
     YARN-4256. YARN fair scheduler vcores with decimal values. (Jun Gong via zxu)
 
+    YARN-4294. [JDK8] Fix javadoc errors caused by wrong reference and illegal
+    tag. (aajisaka)
+
 Release 2.7.2 - UNRELEASED
 
   INCOMPATIBLE CHANGES

+ 1 - 2
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/ApplicationClientProtocol.java

@@ -59,16 +59,15 @@ import org.apache.hadoop.yarn.api.protocolrecords.SignalContainerRequest;
 import org.apache.hadoop.yarn.api.protocolrecords.SignalContainerResponse;
 import org.apache.hadoop.yarn.api.protocolrecords.SubmitApplicationRequest;
 import org.apache.hadoop.yarn.api.protocolrecords.SubmitApplicationResponse;
+import org.apache.hadoop.yarn.api.records.ApplicationAttemptId;
 import org.apache.hadoop.yarn.api.records.ApplicationId;
 import org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext;
 import org.apache.hadoop.yarn.api.records.ContainerLaunchContext;
 import org.apache.hadoop.yarn.api.records.NodeReport;
 import org.apache.hadoop.yarn.api.records.ReservationId;
 import org.apache.hadoop.yarn.api.records.Resource;
-import org.apache.hadoop.yarn.api.records.ResourceRequest;
 import org.apache.hadoop.yarn.api.records.YarnClusterMetrics;
 import org.apache.hadoop.yarn.exceptions.ApplicationNotFoundException;
-import org.apache.hadoop.yarn.exceptions.InvalidResourceRequestException;
 import org.apache.hadoop.yarn.exceptions.YarnException;
 
 /**

+ 1 - 0
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/protocolrecords/FailApplicationAttemptRequest.java

@@ -20,6 +20,7 @@ package org.apache.hadoop.yarn.api.protocolrecords;
 
 import org.apache.hadoop.classification.InterfaceAudience.Public;
 import org.apache.hadoop.classification.InterfaceStability.Stable;
+import org.apache.hadoop.yarn.api.ApplicationClientProtocol;
 import org.apache.hadoop.yarn.api.records.ApplicationAttemptId;
 import org.apache.hadoop.yarn.util.Records;
 

+ 1 - 0
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/protocolrecords/FailApplicationAttemptResponse.java

@@ -22,6 +22,7 @@ import org.apache.hadoop.classification.InterfaceAudience.Private;
 import org.apache.hadoop.classification.InterfaceAudience.Public;
 import org.apache.hadoop.classification.InterfaceStability.Stable;
 import org.apache.hadoop.classification.InterfaceStability.Unstable;
+import org.apache.hadoop.yarn.api.ApplicationClientProtocol;
 import org.apache.hadoop.yarn.util.Records;
 
 /**

+ 4 - 4
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/nodelabels/RMDelegatedNodeLabelsUpdater.java

@@ -39,11 +39,11 @@ import org.apache.hadoop.yarn.server.resourcemanager.RMContext;
 import com.google.common.annotations.VisibleForTesting;
 
 /**
- * Update nodes labels map for Resource Manager periodically. It collects
+ * Update nodes labels map for ResourceManager periodically. It collects
  * nodes labels from {@link RMNodeLabelsMappingProvider} and updates the
- * nodes -> labels map via {@link RMNodeLabelsManager}. This service is
- * enabled when configuration "yarn.node-labels.configuration-type" is
- * set to "delegated-centralized".
+ * nodes {@literal ->} labels map via {@link RMNodeLabelsManager}.
+ * This service is enabled when configuration
+ * "yarn.node-labels.configuration-type" is set to "delegated-centralized".
  */
 public class RMDelegatedNodeLabelsUpdater extends CompositeService {
 

+ 2 - 1
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/nodelabels/RMNodeLabelsMappingProvider.java

@@ -26,7 +26,8 @@ import org.apache.hadoop.yarn.api.records.NodeId;
 import org.apache.hadoop.yarn.api.records.NodeLabel;
 
 /**
- * Interface which is responsible for providing the node -> labels map.
+ * Interface which is responsible for providing
+ * the node {@literal ->} labels map.
  */
 public abstract class RMNodeLabelsMappingProvider extends AbstractService {