hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-20236) Do Not Print StackTraces to STDERR in DDLTask
Date Wed, 15 Aug 2018 11:42:00 GMT

    [ https://issues.apache.org/jira/browse/HIVE-20236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16580962#comment-16580962
] 

Hive QA commented on HIVE-20236:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12935625/HIVE-20236.1.patch

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:green}SUCCESS:{color} +1 due to 14879 tests passed

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/13233/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/13233/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-13233/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12935625 - PreCommit-HIVE-Build

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

Mime
View raw message