drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Westin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-2468) When create a custom function including a 3rd party library, query using the custom function would fail with error.
Date Mon, 16 Mar 2015 17:33:39 GMT

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

Chris Westin updated DRILL-2468:
--------------------------------
    Fix Version/s: 0.9.0

> When create a custom function including a 3rd party library, query using the custom function
would fail with error.
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: DRILL-2468
>                 URL: https://issues.apache.org/jira/browse/DRILL-2468
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Codegen, Execution - Relational Operators
>    Affects Versions: 0.7.0, 0.8.0
>         Environment: CentOS 64-bit
>            Reporter: Haofeng Tang
>            Assignee: Chris Westin
>             Fix For: 0.9.0
>
>
> I followed these articles to create a custom function. I was able to repeat these examples
to build, and run queries using these new functions successfully. But if I used some 3rd party
libraries in my code, of cause with all dependencies resolved with maven, I received errors
-- although I was able to build and run drill, I received an error "No applicable constructor/method
found for actual parameters "java.lang.Object";" 
> when I tried to use the added function in my query. Seems to be a classloader issue.
> All my test is done on a local CentOS node, and drill was deployed in embedded mode.
> Thanks
> ---------------- reference articles --------------
> https://cwiki.apache.org/confluence/display/DRILL/Develop+Custom+Functions
> http://www.confusedcoders.com/bigdata/apache-drill/how-to-contribute-to-apache-drill-implementing-drill-math-functions



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message