起因: hive premanent udf 发布成功,但是hue 无法加载使用(但是cli 是可用的) ,处理半天,依然不可用!后来发现重启hiveserver2 就可以了
 
 
具体步骤如下: 
 
a. 将jar 放到hdfs上 hdfs:///tmp/hive-udf-1.0-SNAPSHOT.jar
 
b. CREATE FUNCTION sum_index AS 'hive.udf.SumIndex' USING JAR 'hdfs:///tmp/hive-udf-1.0-SNAPSHOT.jar';
 
c. 重启下hiveserver2(不必要,如果出现jdbc/hue无法使用自定义premanent function 时操作)

相关文章:

  • 2022-12-23
  • 2021-06-22
  • 2021-04-27
  • 2021-09-03
  • 2022-12-23
  • 2021-12-18
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-03
  • 2022-01-01
  • 2021-09-26
  • 2022-12-23
  • 2022-12-23
  • 2021-09-09
  • 2021-07-01
相关资源
相似解决方案