Moving to the Apache Incubator list (our new impala-dev list). Hi Zuo, We can't really help without more details.
Did you get any messages in your impalad logs? Any hs_err_pid*.log files? How did you produce the ll file? It should be an LLVM 3.3 bitcode file for recent release of Impala. - Tim On Sun, Apr 17, 2016 at 1:35 AM, WANG Zuo (王佐) <[email protected]> wrote: > Hi - > > > > I wrote a UDF, it works with .so file, but fail with .ll file. Could > anybody help me on this? > > > > I ran below commands in impala-shell. It works fine. > > create function aes_decrypt(string,string) returns string location > '/user/xxx/libaes- deencrypt.so' symbol='AES_Decrypt'; > > select aes_decrypt(unhex('CBA4ACFB309839BA426E07D67F23564F'), > '1234567890123456'); > > > > But when I ran below commands. It crashed my impalad. > > create function aes_decrypt_ir(string,string) returns string location > '/user/xxx/aes-deencrypt.ll' symbol='AES_Decrypt'; > > select aes_decrypt_ir(unhex('CBA4ACFB309839BA426E07D67F23564F'), > '1234567890123456'); > > > > > > Best Regards, > > Zuo > > -- > You received this message because you are subscribed to the Google Groups > "Impala Dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. >
