hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhenhao Li (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-8057) Inadequate information for handling catch clauses
Date Wed, 21 Mar 2018 14:02:00 GMT
Zhenhao Li created YARN-8057:

             Summary: Inadequate information for handling catch clauses
                 Key: YARN-8057
                 URL: https://issues.apache.org/jira/browse/YARN-8057
             Project: Hadoop YARN
          Issue Type: Improvement
          Components: api, yarn
    Affects Versions: 3.0.0
            Reporter: Zhenhao Li

Their are some situations that different exception types are caught, but the handling of those
exceptions can not show the differences of those types. Here are the code snippet we found
which have this problem:



At Line *125* and Line *129.* We can see that two exception types are caught, but the logging
statements here can not show the exception type at all. It may cause confusions to the person
who are reading the log, the person can not know what exception happened here.


Maybe adding stack trace information to these two logging statements is a simple way to improve


This message was sent by Atlassian JIRA

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

View raw message