hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haibo Chen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-6888) Error message of ShuffleHandler should show the exact cause
Date Sat, 20 May 2017 14:27:04 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-6888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16018482#comment-16018482
] 

Haibo Chen commented on MAPREDUCE-6888:
---------------------------------------

Thanks [~lewuathe] for the patch! The exception/error has already been printed out in the
log statement above the if statement. Do you think the log inside the if statement is redundant?

> Error message of ShuffleHandler should show the exact cause
> -----------------------------------------------------------
>
>                 Key: MAPREDUCE-6888
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6888
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Kai Sasaki
>            Assignee: Kai Sasaki
>            Priority: Minor
>         Attachments: MAPREDUCE-6888.01.patch
>
>
> {{exceptionCaught}} shows the exact cause of given {{ExceptionEvent}}. But it is not
properly shown in case of internal server error.
> {code}
>       LOG.error("Shuffle error: ", cause);
>       if (ch.isConnected()) {
>         LOG.error("Shuffle error " + e);
>         sendError(ctx, INTERNAL_SERVER_ERROR);
>       }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message