zoukankan      html  css  js  c++  java
  • hive premanent udf 发布...

    起因: 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 时操作)
  • 相关阅读:
    CodeForces
    CodeForces
    CodeForces
    CodeForces
    CodeForces
    CodeForces
    CodeForces
    CodeForces
    Code froces 831 A. Unimodal Array
    无聊随便敲敲
  • 原文地址:https://www.cnblogs.com/yako/p/5437790.html
Copyright © 2011-2022 走看看