浏览代码

YARN-2612 addendum: fixed javadoc error.

(cherry picked from commit 6d6ca4c923142a893870fc8a6309c02f60dc2d24)
(cherry picked from commit bec03f7060d353e78a68bb64c88397cf7181727d)
Daniel Templeton 7 年之前
父节点
当前提交
4d377c89bb

+ 1 - 1
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/ConfigurableResource.java

@@ -46,7 +46,7 @@ public class ConfigurableResource {
   /**
   /**
    * Get resource by multiplying the cluster resource and the percentage of
    * Get resource by multiplying the cluster resource and the percentage of
    * each resource respectively. Return the absolute resource if either
    * each resource respectively. Return the absolute resource if either
-   * {@code percentages} or {@code clusterResource) is null.
+   * {@code percentages} or {@code clusterResource} is null.
    *
    *
    * @param clusterResource the cluster resource
    * @param clusterResource the cluster resource
    * @return resource
    * @return resource