[
https://issues.apache.org/jira/browse/HIVE-6672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13944265#comment-13944265
]
Hive QA commented on HIVE-6672:
-------------------------------
{color:green}Overall{color}: +1 all checks pass
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12635692/HIVE-6672.1.patch
{color:green}SUCCESS:{color} +1 5440 tests passed
Test results:
http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1912/testReport
Console output:
http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1912/console
Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12635692
> JARs loaded by permanent functions don't work properly with HiveServer2
> -----------------------------------------------------------------------
>
> Key: HIVE-6672
> URL: https://issues.apache.org/jira/browse/HIVE-6672
> Project: Hive
> Issue Type: Bug
> Components: HiveServer2, UDF
> Reporter: Jason Dere
> Assignee: Jason Dere
> Attachments: HIVE-6672.1.patch
>
>
> Permanent functions which specify JAR files to load do not seem to work
> properly with HiveServer2. While the function can be created and see with
> SHOW FUNCTIONS, doing DESCRIBE FUNCTION or using the UDF in a query results
> in java.lang.ClassNotFoundException.
> It looks like the JAR is only added to the classloader of the very first
> thread which references the UDF. Subsequent threads will have a different
> class loader which may not have loaded the JAR, but because the UDF is
> already in the FunctionRegistry these threads do not attempt to load the
> resources for the UDF.
--
This message was sent by Atlassian JIRA
(v6.2#6252)