hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naveen Gangam (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-20162) Do Not Print StackTraces to STDERR in AbstractJoinTaskDispatcher
Date Mon, 06 Aug 2018 02:40:00 GMT

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

Naveen Gangam commented on HIVE-20162:
--------------------------------------

Fix has been committed to master for 4.0.0 release. Thank you for your contribution [~anuragmantri]

> Do Not Print StackTraces to STDERR in AbstractJoinTaskDispatcher
> ----------------------------------------------------------------
>
>                 Key: HIVE-20162
>                 URL: https://issues.apache.org/jira/browse/HIVE-20162
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Planning
>    Affects Versions: 3.0.0, 4.0.0
>            Reporter: BELUGA BEHR
>            Assignee: Anurag Mantripragada
>            Priority: Minor
>              Labels: newbie, noob
>             Fix For: 4.0.0
>
>         Attachments: HIVE-20162.1.patch
>
>
> https://github.com/apache/hive/blob/6d890faf22fd1ede3658a5eed097476eab3c67e9/ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/AbstractJoinTaskDispatcher.java
> {code}
>     } catch (Exception e) {
>       e.printStackTrace();
>       throw new SemanticException("Generate Map Join Task Error: " + e.getMessage());
>     }
> {code}
> Remove the call to {{printStackTrace}} and just throw the error.  If the stack trace
really is needed (doubtful), then pass it to the {{SemanticException}} constructor.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message