hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Sherman (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-20156) Printing Stacktrace to STDERR
Date Tue, 24 Jul 2018 00:25:00 GMT

     [ https://issues.apache.org/jira/browse/HIVE-20156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Sherman updated HIVE-20156:
----------------------------------
    Attachment: HIVE-20156.1.patch
        Status: Patch Available  (was: Open)

> Printing Stacktrace to STDERR
> -----------------------------
>
>                 Key: HIVE-20156
>                 URL: https://issues.apache.org/jira/browse/HIVE-20156
>             Project: Hive
>          Issue Type: Improvement
>          Components: HiveServer2
>    Affects Versions: 3.0.0, 4.0.0
>            Reporter: BELUGA BEHR
>            Assignee: Andrew Sherman
>            Priority: Minor
>              Labels: newbie, noob
>         Attachments: HIVE-20156.1.patch
>
>
> Class {{org.apache.hadoop.hive.ql.exec.JoinOperator}} has the following code:
> {code}
>     } catch (Exception e) {
>       e.printStackTrace();
>       throw new HiveException(e);
>     }
> {code}
> Do not print the stack trace to STDERR with a call to {{printStackTrace()}}.  Please
remove that line and let the code catching the {{HiveException}} worry about printing any
messages through a logger.



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

Mime
View raw message