hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-366) Add a tracing async dispatcher to simplify debugging
Date Tue, 05 Feb 2013 02:05:12 GMT

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

Hadoop QA commented on YARN-366:
--------------------------------

{color:green}+1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12567927/YARN-366.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 1 new or modified
test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:green}+1 javadoc{color}.  The javadoc tool did not generate any warning messages.

    {color:green}+1 eclipse:eclipse{color}.  The patch built with eclipse:eclipse.

    {color:green}+1 findbugs{color}.  The patch does not introduce any new Findbugs (version
1.3.9) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number
of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common.

    {color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-YARN-Build/379//testReport/
Console output: https://builds.apache.org/job/PreCommit-YARN-Build/379//console

This message is automatically generated.
                
> Add a tracing async dispatcher to simplify debugging
> ----------------------------------------------------
>
>                 Key: YARN-366
>                 URL: https://issues.apache.org/jira/browse/YARN-366
>             Project: Hadoop YARN
>          Issue Type: New Feature
>          Components: nodemanager, resourcemanager
>    Affects Versions: 2.0.2-alpha
>            Reporter: Sandy Ryza
>            Assignee: Sandy Ryza
>         Attachments: YARN-366.patch
>
>
> Exceptions thrown in YARN/MR code with asynchronous event handling do not contain informative
stack traces, as all handle() methods sit directly under the dispatcher thread's loop.
> This makes errors very difficult to debug for those who are not intimately familiar with
the code, as it is difficult to see which chain of events caused a particular outcome.
> I propose adding an AsyncDispatcher that instruments events with tracing information.
 Whenever an event is dispatched during the handling of another event, the dispatcher would
annotate that event with a pointer to its parent.  When the dispatcher catches an exception,
it could reconstruct a "stack" trace of the chain of events that led to it, and be able to
log something informative.
> This would be an experimental feature, off by default, unless extensive testing showed
that it did not have a significant performance impact.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message