Procedure hive custom UDF
Require custom classes and inheritance UDF and achieve specific business logic which method envluate () method, packaged upload Linux (to avoid mistakes packed into RunningJar)
Creating a temporary function:
JAR /udf/xxx.jar 1.Add
2.Create Temporary function mytest AS 'package name class name. "
The display UDF functions Functions like mytest Show
4. delete function temporary drop temporaray function mytest;
Create a permanent function:
1. hdfs jar package uploaded to the directory path
2.Create function mytest AS 'package name. Class name' using jar path / xxx.jar