You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Naveen Gangam (JIRA)" <ji...@apache.org> on 2018/09/05 17:52:00 UTC
[jira] [Comment Edited] (HIVE-20236) Do Not Print StackTraces to
STDERR in DDLTask
[ https://issues.apache.org/jira/browse/HIVE-20236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16604725#comment-16604725 ]
Naveen Gangam edited comment on HIVE-20236 at 9/5/18 5:51 PM:
--------------------------------------------------------------
Fix has been committed to master(4.0) and branch-3 (3.2). [~afan] Thank you for your contribution.
was (Author: ngangam):
Fix has been committed to master(4.0) and branch-3 (3.2). [~belugabehr] Thank you for your contribution.
> Do Not Print StackTraces to STDERR in DDLTask
> ---------------------------------------------
>
> Key: HIVE-20236
> URL: https://issues.apache.org/jira/browse/HIVE-20236
> Project: Hive
> Issue Type: Improvement
> Affects Versions: 3.0.0, 4.0.0
> Reporter: BELUGA BEHR
> Assignee: Alice Fan
> Priority: Trivial
> Labels: newbie, noob
> Fix For: 4.0.0, 3.2.0
>
> Attachments: HIVE-20236.1.patch
>
>
> {code:java|title=DDLTask.java}
> try {
> ret = ToolRunner.run(fss, args.toArray(new String[0]));
> } catch (Exception e) {
> e.printStackTrace();
> throw new HiveException(e);
> }
> {code}
> Don't print the stacktrace to STDERR, deal with handling the error up the call stack by using the HiveException.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)