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, 12 Dec 2018 19:01:00 GMT

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

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



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

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

{color:red}ERROR:{color} -1 due to 3 failed/errored test(s), 15570 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[udf_reflect] (batchId=61)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[results_cache_invalidation2]
(batchId=168)
org.apache.hadoop.hive.llap.security.TestLlapSignerImpl.testSigning (batchId=331)
{noformat}

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

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: 3 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12951519 - 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-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