0

I wrote some UDFs for Phoenix, and outsourced some functions in other classes, because they are used in multiple UDFs. Now if I register a function and execute it, I get a ClassNotFoundException for the helper class which is imported into the UDF class. Is there a way to prevent this error or do I have put all the logic within the UDF class?

olkoza
  • 715
  • 2
  • 17
  • 35

1 Answers1

0

The dependencies need to be available in the classpath. Compile these to jars and place them in the Phoenix lib folder.

kliew
  • 3,073
  • 1
  • 14
  • 25