You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Alice Fan (JIRA)" <ji...@apache.org> on 2018/08/14 21:46:00 UTC

[jira] [Assigned] (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:all-tabpanel ]

Alice Fan reassigned HIVE-20236:
--------------------------------

    Assignee: Alice Fan

> 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
>
> {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)