[
https://issues.apache.org/jira/browse/HIVE-20236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16596980#comment-16596980
]
Alice Fan commented on HIVE-20236:
----------------------------------
[~belugabehr] Thanks for reminder!
[~ngangam] Can you please help to review it? unarchive() will be called by
execute() which will print error log while throw exception. We shouldn't need
to print stacktraces at stderr.
> 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
> 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)