You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Steven Phillips (JIRA)" <ji...@apache.org> on 2014/09/29 10:16:33 UTC
[jira] [Created] (DRILL-1464) Missing source code from UDF causes
drillbit startup to fail
Steven Phillips created DRILL-1464:
--------------------------------------
Summary: 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
(v6.3.4#6332)