hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zoltan Haindrich (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-19968) UDF exception is not throw out
Date Tue, 26 Jun 2018 09:07:00 GMT

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

Zoltan Haindrich updated HIVE-19968:
------------------------------------
    Description: 
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}

  was:
udf init failed, and throw a exception, but hive catch it and do nothing, leading to app succ,
but no data is generated.

GenericUDFReflect.java#evaluate()

try {  

   o = null;  

   o = ReflectionUtils.newInstance(c, null);

}   catch (Exception e) {  

// ignored

}


> 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
>            Priority: Major
>         Attachments: 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