You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Oleg Danilov (JIRA)" <ji...@apache.org> on 2017/08/16 13:15:00 UTC

[jira] [Updated] (MAPREDUCE-6940) Copy-paste error in the TaskAttemptUnsuccessfulCompletionEvent constructor

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

Oleg Danilov updated MAPREDUCE-6940:
------------------------------------
    Status: Patch Available  (was: Open)

> Copy-paste error in the TaskAttemptUnsuccessfulCompletionEvent constructor
> --------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-6940
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6940
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Oleg Danilov
>            Priority: Minor
>         Attachments: MAPREDUCE-6940.patch
>
>
> This constructor seems to be copy-pasted from another one, but it doesn't pass allSplits parameter as expected.
> Lines 126-133:
> {code:java}
>   public TaskAttemptUnsuccessfulCompletionEvent
>       (TaskAttemptID id, TaskType taskType,
>        String status, long finishTime,
>        String hostname, int port, String rackName,
>        String error, int[][] allSplits) {
>     this(id, taskType, status, finishTime, hostname, port,
>         rackName, error, EMPTY_COUNTERS, null);
>   }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org