hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira AJISAKA (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-5595) Typo in MergeManagerImpl.java
Date Sat, 26 Oct 2013 00:44:31 GMT

     [ https://issues.apache.org/jira/browse/MAPREDUCE-5595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Akira AJISAKA updated MAPREDUCE-5595:
-------------------------------------

    Attachment: MAPREDUCE-5595.patch

Attaching a patch.

> Typo in MergeManagerImpl.java
> -----------------------------
>
>                 Key: MAPREDUCE-5595
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5595
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 3.0.0, 2.2.0
>         Environment: all
>            Reporter: Efe Gencer
>            Priority: Trivial
>              Labels: newbie
>         Attachments: MAPREDUCE-5595.patch, MergeManagerImpl.java
>
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> 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)

Mime
View raw message