Efe Gencer created YARN-1356:
--------------------------------

             Summary: Typo in MergeManagerImpl.java
                 Key: YARN-1356
                 URL: https://issues.apache.org/jira/browse/YARN-1356
             Project: Hadoop YARN
          Issue Type: Bug
          Components: nodemanager
    Affects Versions: 2.2.0
         Environment: all
            Reporter: Efe Gencer
            Priority: Trivial


There's a typo ("Invlaid" which should be "Invalid") in line 199 of 
MergeManagerImpl.java
currently:
    if (this.maxSingleShuffleLimit >= this.mergeThreshold) {
      throw new RuntimeException("Invlaid configuration: "
          + "maxSingleShuffleLimit should be less than mergeThreshold"
          + "maxSingleShuffleLimit: " + this.maxSingleShuffleLimit
          + "mergeThreshold: " + this.mergeThreshold);
    }

should be:

    if (this.maxSingleShuffleLimit >= this.mergeThreshold) {
      throw new RuntimeException("Invalid configuration: "
          + "maxSingleShuffleLimit should be less than mergeThreshold"
          + "maxSingleShuffleLimit: " + this.maxSingleShuffleLimit
          + "mergeThreshold: " + this.mergeThreshold);
    }



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to