A UDF used some external resource files, then it error:
“java.io.FileNotFoundException: resource/placeMap.txt (No such file or directory)”,
this function runs right at native, why wrong at hive, how can I solved it ? Thank you very much!
A UDF used some external resource files, then it error: java.io.FileNotFoundException: resource/placeMap.txt (No such
Share
look at this. what you want to do is
add file <filename>so that<filename>can be added to distributed cache.it will be accessible as if in the same path as the executable/jar, so check your relatives paths as well.