Beeline connect hiveserver2 problem

2015-01-02 Thread 王鹏飞
I use command "!connect jdbc:hive2://10.1.65.10:1" to connect hiveserver2 and it occurred some problem as following: 15/01/03 12:27:32 [main]: ERROR jdbc.HiveConnection: Error opening session org.apache.thrift.TApplicationException: Required field 'client_protocol' is unset! Struct:TO

Re: Custom UDF Not Working Properly

2015-01-02 Thread Jason Dere
The steps you've described sound correct. Do you have a small example (tables, data, query) to demonstrate the problem? On Dec 25, 2014, at 12:03 AM, vengatesh.babu wrote: > Hi, > > Please tell me steps to be followed to add Custom UDF in Hive 0.14 Source > Code. > > Thanks > Vengatesh Bab

Re: CREATE FUNCTION: How to automatically load extra jar file?

2015-01-02 Thread Jason Dere
The point of USING JAR as part of the CREATE FUNCTION statement to try to avoid having to do ADD JAR/aux path stuff to get the UDF to work. Are all of these commands (Step 1-5) from the same Hive CLI prompt? >> hive> CREATE FUNCTION sysdate AS 'com.nexr.platform.hive.udf.UDFSysDate' >> using J