I got the log. There might be inline asm in the lib that I called to.

I0418 20:54:29.209174 23082 admission-controller.cc:448] Admitted query 
id=d3441d5855161a74:837b3bd562969caa

I0418 20:54:29.209190 23082 coordinator.cc:384] Exec() 
query_id=d3441d5855161a74:837b3bd562969caa

I0418 20:54:29.209277 23082 plan-fragment-executor.cc:92] Prepare(): 
query_id=d3441d5855161a74:837b3bd562969caa 
instance_id=d3441d5855161a74:837b3bd562969cab

I0418 20:54:29.209506 23082 plan-fragment-executor.cc:202] descriptor table for 
fragment=d3441d5855161a74:837b3bd562969cab

tuples:

Tuple(id=0 size=24 slots=[Slot(id=0 type=STRING col_path=[] offset=8 
null=(offset=0 mask=1) slot_idx=0 field_idx=-1)] tuple_path=[])

I0418 20:54:29.410006 24173 plan-fragment-executor.cc:311] Open(): 
instance_id=d3441d5855161a74:837b3bd562969cab

F0418 20:54:29.774646 24173 llvm-codegen.cc:85] LLVM hit fatal error: JIT does 
not support inline asm!

Best Regards,
Zuo

Tim Armstrong [mailto:[email protected]]


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]<mailto:[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]<mailto:[email protected]>.

Reply via email to