Hi, all:
I'm a beginner of hive. Recently I want to implement a UDF in hive and this 
function is code with java but call some method written in C++. So my UDF need 
to load some native libraries (*.so). I have already added the so to hive by 
using Add file *.so. But it seems that hive doesn't add these so to the 
LD_LIBRARY_PATH automatically, thus, UDF throws 'no so in java.library.path' 
exception. I have almost searched the whole internet but got nothing 
helpful.  Have you got any idea of this?


By the way, I add an archive file (*.tar.gz) by using ADD ARCHIVE *.tar.gz, it 
seems that this file is not unarchived automatically. I am also confused.


Thank you.


Best


BIN

Reply via email to