Hive UDAF中的NullPointException

时间:2013-09-29 08:53:27

标签: java hadoop hive user-defined-functions

我在蜂巢中使用它时编写一个蜂巢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 ...