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] [Updated] (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 ]

Naveen Gangam updated HIVE-20236:
---------------------------------
       Resolution: Fixed
    Fix Version/s: 3.2.0
                   4.0.0
           Status: Resolved  (was: Patch Available)

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