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-19968) UDF exception is not throw out
Date Wed, 06 Mar 2019 01:36:00 GMT

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

Hive QA commented on HIVE-19968:
--------------------------------



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

{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 15817 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[test_teradatabinaryfile] (batchId=2)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[vector_groupby_reduce] (batchId=61)
{noformat}

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

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
Tests exited with: TestsFailedException: 2 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12961172 - PreCommit-HIVE-Build

> UDF exception is not throw out
> ------------------------------
>
>                 Key: HIVE-19968
>                 URL: https://issues.apache.org/jira/browse/HIVE-19968
>             Project: Hive
>          Issue Type: Bug
>            Reporter: sandflee
>            Assignee: Laszlo Bodor
>            Priority: Major
>         Attachments: HIVE-19968.01.patch, HIVE-19968.02.patch, HIVE-19968.03.patch, HIVE-19968.04.patch,
HIVE-19968.05.patch, HIVE-19968.06.patch, hive-udf.png
>
>
> udf init failed, and throw a exception, but hive catch it and do nothing, leading to
app succ, but no data is generated.
> {code}
> GenericUDFReflect.java#evaluate()
> try {  
>    o = null;  
>    o = ReflectionUtils.newInstance(c, null);
> }   catch (Exception e) {  
> // ignored
> }
> {code}



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

Mime
View raw message