drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao Meng (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (DRILL-1464) Missing source code from UDF causes drillbit startup to fail
Date Wed, 03 Dec 2014 21:07:12 GMT

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

Xiao Meng reassigned DRILL-1464:

    Assignee:     (was: Xiao Meng)

> Missing source code from UDF causes drillbit startup to fail
> ------------------------------------------------------------
>                 Key: DRILL-1464
>                 URL: https://issues.apache.org/jira/browse/DRILL-1464
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Steven Phillips
> If the source file is not included when adding a UDF, drillbit fails to start up:
> Exception in thread "main" org.apache.drill.exec.exception.DrillbitStartupException:
Failure during initial startup of Drillbit.
>   at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:75)
>   at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:59)
>   at org.apache.drill.exec.server.Drillbit.main(Drillbit.java:82)
> Caused by: java.lang.IllegalArgumentException: resource /com/tdunning/drill/exec/expr/fn/impl/HbaseLookup.java
relative to com.tdunning.drill.exec.expr.fn.impl.HbaseLookup$Lookup not found.
>   at com.google.common.base.Preconditions.checkArgument(Preconditions.java:119)
>   at com.google.common.io.Resources.getResource(Resources.java:203)
>   at org.apache.drill.exec.expr.fn.FunctionConverter.get(FunctionConverter.java:76)
>   at org.apache.drill.exec.expr.fn.FunctionConverter.getHolder(FunctionConverter.java:224)
>   at org.apache.drill.exec.expr.fn.DrillFunctionRegistry.<init>(DrillFunctionRegistry.java:46)
>   at org.apache.drill.exec.expr.fn.FunctionImplementationRegistry.<init>(FunctionImplementationRegistry.java:42)
>   at org.apache.drill.exec.server.DrillbitContext.<init>(DrillbitContext.java:80)
>   at org.apache.drill.exec.work.WorkManager.start(WorkManager.java:96)
>   at org.apache.drill.exec.server.Drillbit.run(Drillbit.java:151)
>   at org.apache.drill.exec.server.Drillbit.start(Drillbit.java:72)
> I think it would be better to allow the drillbit to startup, and put an error message
in the log indicating that the UDF was not loaded, and how to resolve it.
> If anyone thinks it is better to fail drillbit startup in this case, please discuss.

This message was sent by Atlassian JIRA

View raw message