Open alexvorobiev opened 9 years ago
I fixed it and release nexr-rhive-2.0.9. Please, try it again.
Just tried installing the latest from github - still the same problem. Is there anything I can do to help testing?
At first, please remove all file and directory for RHive on HDFS, such as /rhive/tmp, lib, udf and etc.. After that, try it again.
I am trying to run examples from the RHive manual (I have just installed the latest version from github). The connection works, the UDF function gets installed into correct location (/rhive/udf/myuserid/sumCrimes.RData) but rhive.query fails:
The job's log file shows that it tries to load the file not from my user's subdirectory but from /rhive/udf:
When I copied the sumCrimes.RData manually to that directory, everything worked.
Here is what rhive.env() returns:
Here is the value of mapred.child.env on the nodes (from the Job Configuration page): RHIVE_UDF_DIR=/rhive/udf/myuserid