我在蜂巢中使用它时编写一个蜂巢UDAF。它抛出NullPointException
代码和整个任务日志粘贴在github gist上 - > https://gist.github.com/hellojinjie/6750572
知道它为什么抛出NullPointException?
或者为什么说:
stderr logs
java.lang.reflect.InvocationTargetException
Continuing ...
java.lang.IllegalArgumentException: Unbound variable: GenericUDAFCdnBytesLoaded$GenericUDAFCdnBytesLoadedEvaluator0
Continuing ...
答案 0 :(得分:0)
UDAT需要扩展AbstractGenericUDAFResolver