jyothish.kp

Apache Drill UDF - Failure reading Function class

Discussion created by jyothish.kp on Apr 28, 2017

Hi Team,

I tried to execute a UDF in apache-drill-1.9.0 and I am getting the following error. Please help me how to resolve this issue.

 

Error Received

Error: FUNCTION ERROR: Failure reading Function class.

Function Class com.kp.example.udf.SplitReverseRowKey
Fragment 0:0

[Error Id: 41ffddaa-f15b-40f8-b24a-ba8465dbba54 on 10.36.160.154:31010] (state=,code=0)

 

Query Executed

0: jdbc:drill:zk=local> select REVERSE_TS(columns[1]) from dfs.`e:/workspace/SparkTest/src/test/resources/com/kp/example/udf//testing/audit_log.csv`;

 

drill-module.conf

drill { classpath.scanning {packages : ${?drill.classpath.scanning.packages} [ com.kp.example.udf ] } }

Outcomes